:root {
  --clr-primary: #0a57ff;
  --clr-accent: #3ba7ff;
  --clr-green: #3ddc84;
  --clr-white: #ffffff;
  --clr-dark: #12161c;
  --clr-muted: #6b7280;
       --clr-border: #e5e7eb;
            --clr-surface: #fafbfc;
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  font-family: var(--font-body);
  color: var(--clr-dark);
  background: var(--clr-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ========== LAYOUT CONTAINER ========== */
.container {
  width: 92%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== NAVBAR ========== */
.nav {
  width: 100%;
  background: var(--clr-white);
  border-bottom: 1px solid rgba(18, 22, 28, 0.06);
  position: sticky;
  top: 0;
  z-index: 90000;
  backdrop-filter: blur(4px);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--clr-dark);
}
.brand img {
  height: 80px;
  width: auto;
  display: block;
}
.brand .brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  font-family: var(--font-body);
  border: none;
  padding: 10px 16px;
  /* border-radius: 10px; */
  cursor: pointer;
  font-weight: 600;
}

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: 0 8px 30px rgba(10, 87, 255, 0.12);
}

/* ========== HERO ========== */
.hero {
  background: var(--clr-white);
  position: relative;
  overflow: visible;
  padding: 64px 0 56px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding-top: 150px;
  margin-bottom: 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  align-items: center;
  gap: 36px;
  align-items: center;
}


.hero-copy {
  max-width: 760px;
  width: 100%;
  margin: 0;
  text-align: left;
}

.lead {
  color: #667085; 
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  line-height: 50px;
  color: var(--clr-dark);
  margin: 0 0 15px 0;
  text-transform: none;
  letter-spacing: -1px;
  
}

.hero-sub {
  color: #8b90a0; 
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 50px;
  max-width: 400px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cta-primary {
  padding: 12px 20px;
  /* border-radius: 12px; */
  font-weight: 700;
  font-size: 16px;
  background: var(--clr-primary);
  color: var(--clr-white);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(10, 87, 255, 0.12);
}

/* right column (image placeholder) */
.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration .hero-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
}

.hero-illustration {
  position: relative;
  display: inline-block;
}

.hero-illustration::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 480px; /* adjust size */
  height: 300px; /* adjust size */
  background: linear-gradient(135deg, #3BA7FF, #0A57FF);
  transform: translate(-50%, -50%) rotate(5deg);
  z-index: 0;
  opacity: 0.85;
}

.hero-img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
}


/* responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-title {
    font-size: 20px;
    letter-spacing: -0.6px;
  }
  .illustration-box {
    margin: 0 auto;
    height: 260px;
    max-width: 360px;
  }
}
@media (max-width: 480px) {
  .nav .container {
    padding: 0;
  }
  .brand .brand-text {
    display: none;
  }
  .hero {
    padding: 36px 0 40px;
  }
  .hero-title {
    font-size: 19px;
    line-height: 28px;
  }
  .illustration-box {
    height: 200px;
    max-width: 100%;
    border-radius: 0px;
  }
  .lead,
  .hero-sub {
    font-size: 13px;
    max-width: 250px;
    margin: 25px auto;
  }
  .cta-primary {
  padding: 8px 10px;
  /* border-radius: 12px; */
  font-weight: 700;
  font-size: 12px;
  background: var(--clr-primary);
  color: var(--clr-white);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(10, 87, 255, 0.12);
}
  .hero-illustration::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px; /* adjust size */
  height: 210px; /* adjust size */
  background: linear-gradient(135deg, #3BA7FF, #0A57FF);
  transform: translate(-50%, -50%) rotate(5deg);
  z-index: 0;
  opacity: 0.85;
    margin-top:23px;
}
.hero-img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  margin-top:50px;
}
#middle{
  margin: 0 auto;
    padding: 12px 20px;
  /* border-radius: 12px; */
  font-weight: 700;
  font-size: 16px;
  background: var(--clr-primary);
  color: var(--clr-white);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(10, 87, 255, 0.12);
}

}

/* small utility */
.muted {
  color: #94a3b8;
}

/* How It Works Section */
.how-section {
  padding: 100px 0;
  background: var(--clr-white);
}



.how-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.how-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  margin: 0 0 16px;
  color: var(--clr-dark);
  letter-spacing: -0.4px;
}

.how-intro {
  margin: 0;
  color: var(--clr-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* 2-Column Grid Layout */
.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Individual step */
.how-step {
  background: var(--clr-white);
  border-radius: 0px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.how-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.how-step:hover::before {
  opacity: 1;
}

/* subtle hover lift */
.how-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Step badge */
.step-badge {
  width: 60px;
  height: 60px;
  border-radius: 0px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 20px;
  box-shadow: 0 6px 16px rgba(10, 87, 255, 0.15);
  flex-shrink: 0;
}

/* Step content */
.step-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--clr-dark);
  line-height: 1.3;
}

.step-copy {
  margin: 0;
  color: var(--clr-muted);
  font-size: 1rem;
  line-height: 1.6;
  flex: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .how-section {
    padding: 50px 0;
  }

  .how-title {
    font-size: 1.8rem;
  }

  .how-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .how-step {
    padding: 30px 24px;
    min-height: 260px;
  }

  .step-badge {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .step-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 560px) {
  .how-header {
    padding: 0 12px;
  }

  .how-intro {
    font-size: 1rem;
  }

  .how-step {
    padding: 24px 20px;
    min-height: auto;
  }

  .step-badge {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .step-title {
    font-size: 1.1rem;
  }

  .step-copy {
    font-size: 0.9rem;
  }
}

/* Base section */
.about-section {
  background: var(--clr-white);
  padding: 64px 0;
  color: var(--clr-dark);
  font-family: var(--font-body);
}

/* Grid container: image left, text right */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Image */
.about-image {
  width: 100%;
  display: block;
  margin: 0;
}
.about-image img {
  width: 100%;
  height: auto;
  max-width: 460px;
  border-radius: 0px;
  box-shadow: 0 18px 40px rgba(18, 22, 28, 0.06);
  background: linear-gradient(
    180deg,
    rgba(10, 87, 255, 0.03),
    rgba(59, 167, 255, 0.02)
  );
  object-fit: cover;
  display: block;
}

.about-image {
  position: relative;
  display: inline-block;
}

.about-image::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 45%;
  width: 500px;
  height: 300px;
  background: linear-gradient(135deg, #3BA7FF, #0A57FF); 
  transform: translate(-50%, -50%) rotate(-6deg);
  z-index: 0;
  opacity: 0.8;

}

.about-image img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
}


/* Text column */
.about-text {
  max-width: 620px;
}

.about-heading {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--clr-dark);
  letter-spacing: -0.3px;
}

.about-brief {
  margin: 0 0 16px;
  color: var(--clr-muted);
  font-size: 16.5px;
  line-height: 1.72;
  font-weight: 500;
  text-align: left;
}

.about-commit {
  margin: 0 0 22px;
  color: var(--clr-muted);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
}

/* Actions */
.about-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}
.btn {
  font-family: var(--font-body);
  padding: 10px 14px;
  border-radius: 0px;
  border: none;
  cursor: pointer;
  font-weight: 700;
}
.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: 0 10px 30px rgba(10, 87, 255, 0.12);
}
.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid rgba(10, 87, 255, 0.12);
}

/* Responsive: stack on small screens (image top, text below) */
@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .about-image img {
    max-width: 100%;
    border-radius: 0px;
  }
  .about-heading {
    font-size: 22px;
  }
  .about-brief,
  .about-commit {
    font-size: 15.5px;
  }
  .about-section {
    padding: 48px 0;
  }
}

/* Mobile minor tweaks */
@media (max-width: 560px) {
  .about-section {
    padding: 36px 0;
  }
  .about-heading {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--clr-dark);
  letter-spacing: -0.3px;
  margin-top: 30px;
}
  .about-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
    padding: 12px;
  }
  .about-image::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 49%;
  width: 310px;
  height: 210px;
  background: linear-gradient(135deg, #3BA7FF, #0A57FF); 
  transform: translate(-50%, -50%) rotate(-6deg);
  z-index: 0;
  opacity: 0.8;

}
}

/* Footer */
.footer {
  background: var(--clr-dark);
  color: var(--clr-white);
  padding: 60px 0 40px;
}



.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--clr-white);
  margin: 0;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 400px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item:hover {
  color: var(--clr-white);
}

.contact-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 0 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--clr-white);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 0px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer {
    padding: 50px 0 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    order: 2;
  }

  .footer-social {
    order: 1;
  }

  .copyright {
    order: 3;
  }
}

@media (max-width: 560px) {
  .footer-links {
    flex-direction: column;
    gap: 16px;
  }

  .footer-social {
    gap: 12px;
  }

  .social-link {
    width: 36px;
    height: 36px;
  }

  .footer-logo {
    font-size: 1.5rem;
  }

  .footer-tagline {
    font-size: 1rem;
  }
}

/* Intake Section */
.intake-section {
  padding: 100px 0;
  background: var(--clr-surface);
  position: relative;
}



.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  margin: 0 0 16px;
  color: var(--clr-dark);
  letter-spacing: -0.4px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--clr-muted);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Intake Card */
.intake-card {
  background: var(--clr-white);
  border-radius: 0px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Tabs - Underline Style with Bootstrap */
.nav-intake {
  display: flex;
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-intake .nav-item {
  flex: 1;
}

.nav-intake .nav-link {
  display: block;
  padding: 24px 20px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--clr-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
  text-decoration: none;
  border-radius: 0;
}

.nav-intake .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--clr-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-intake .nav-link.active {
  color: var(--clr-primary);
  background: transparent;
}

.nav-intake .nav-link.active::after {
  transform: scaleX(1);
}

.nav-intake .nav-link:hover:not(.active) {
  color: var(--clr-dark);
  background: rgba(10, 87, 255, 0.02);
}

/* Form Content */
.intake-body {
  padding: 50px;
}

.form-header {
  margin-bottom: 30px;
}

.form-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 8px;
  color: var(--clr-dark);
}

.form-description {
  color: var(--clr-muted);
  margin: 0;
  line-height: 1.6;
}

/* Form Fields */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-weight: 600;
  color: var(--clr-dark);
  font-size: 0.95rem;
}

.required::after {
  content: "*";
  color: #ef4444;
  margin-left: 4px;
}

.form-control,
.form-select {
  padding: 14px 16px;
  border: 1px solid var(--clr-border);
  border-radius: 0px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.2s ease;
  background: var(--clr-white);
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(10, 87, 255, 0.1);
}

/* Radio Button Group */
.radio-group {
  display: flex;
  gap: 24px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  accent-color: var(--clr-primary);
}

.form-check-label {
  font-weight: 500;
}

/* File Upload */
.file-drop {
  border: 2px dashed var(--clr-border);
  border-radius: 0px;
  padding: 32px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  background: var(--clr-light);
}

.file-drop:hover,
.file-drop.is-dragover {
  border-color: var(--clr-primary);
  background: rgba(10, 87, 255, 0.02);
}

.file-upload-icon {
  font-size: 2rem;
  color: var(--clr-muted);
  margin-bottom: 12px;
}

.file-upload-text {
  color: var(--clr-muted);
  margin: 0;
  font-weight: 500;
}

.file-upload-hint {
  font-size: 0.85rem;
  color: var(--clr-muted);
  margin: 8px 0 0;
}

.file-list {
  margin-top: 16px;
  list-style: none;
  padding: 0;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--clr-light);
  border-radius: 0px;
  margin-bottom: 6px;
}

.file-name {
  flex: 1;
  font-size: 0.9rem;
}

.file-size {
  font-size: 0.8rem;
  color: var(--clr-muted);
}

/* Consent Box */
.consent-box {
  padding: 20px;
  border-radius: 0px;
  background: rgba(10, 87, 255, 0.03);
  border: 1px solid rgba(10, 87, 255, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-check-input[type="checkbox"] {
  accent-color: var(--clr-primary);
}

.form-check-label {
  font-weight: 500;
  line-height: 1.5;
}

.consent-text {
  font-size: 0.9rem;
  color: var(--clr-muted);
  margin-top: 8px;
  line-height: 1.5;
}

/* Submit Button */
.btn-primary.intake {
  background: var(--clr-primary);
  color: var(--clr-white);
  border: none;
  border-radius: 0px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(10, 87, 255, 0.2);
}

.btn-primary.intake:hover {
  background: var(--clr-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 87, 255, 0.25);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .intake-section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .intake-body {
    padding: 30px 24px;
  }

  .nav-intake {
    flex-direction: column;
  }

  .nav-intake .nav-link {
    text-align: center;
    padding: 18px;
  }

  .nav-intake .nav-link::after {
    bottom: -1px;
  }
}

@media (max-width: 560px) {
  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .intake-body {
    padding: 24px 20px;
  }

  .form-title {
    font-size: 1.3rem;
  }

  .file-drop {
    padding: 24px;
  }

  .radio-group {
    flex-direction: column;
    gap: 12px;
  }
}

.form-control,
.form-select {
  padding: 14px 16px;
  border: 2px solid var(--clr-border);
  border-radius: 0px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.2s ease;
  background: var(--clr-white);
  width: 100%;
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(10, 87, 255, 0.15);
  transform: translateY(-1px);
}

/* Enhanced file upload border */
.file-drop {
  border: 2px dashed var(--clr-border);
  border-radius: 0px;
  padding: 32px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  background: var(--clr-light);
}

.file-drop:hover,
.file-drop.is-dragover {
  border-color: var(--clr-primary);
  background: rgba(10, 87, 255, 0.02);
  border-style: solid;
}

/* Enhanced radio and checkbox styling */
.form-check-input {
  border: 2px solid var(--clr-border);
  width: 20px;
  height: 20px;
}

.form-check-input:checked {
  background-color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.form-check-input:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(10, 87, 255, 0.15);
}

.file-label-btn {
  display: inline-block;
  padding: .5rem .75rem;
  border-radius: 6px;
  border: 1px solid #111;
  background: transparent;
  cursor: pointer;
  user-select: none;
}
.file-help { font-size:.9rem; color:#666; margin-left:.5rem; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* File input */
input[type="file"] {
  display: block;
  width: 100%;
  padding: 0.6rem;
  font-size: 0.95rem;
  color: #12161C;
  background-color: #fff;
  border: 1.5px solid #dcdfe4;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Hover and focus states */
input[type="file"]:hover {
  border-color: #3BA7FF;
}

input[type="file"]:focus {
  outline: none;
  border-color: #0A57FF;
  box-shadow: 0 0 0 3px rgba(59, 167, 255, 0.2);
}
html {
  scroll-behavior: smooth;
}
/* base hidden state */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation-fill-mode: forwards;
  animation-duration: 600ms;
  animation-timing-function: cubic-bezier(.2,.9,.3,1);
}

/* animation */
@keyframes fadeInUpSimple {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger using nth-of-type (adjust selector to match your layout) */
.reveal:nth-of-type(1) { animation-name: fadeInUpSimple; animation-delay: 0.12s; }
.reveal:nth-of-type(2) { animation-name: fadeInUpSimple; animation-delay: 0.24s; }
.reveal:nth-of-type(3) { animation-name: fadeInUpSimple; animation-delay: 0.36s; }
.reveal:nth-of-type(4) { animation-name: fadeInUpSimple; animation-delay: 0.48s; }
.reveal:nth-of-type(5) { animation-name: fadeInUpSimple; animation-delay: 0.60s; }

/* If you have many sections, use a general rule for higher indexes */
.reveal { will-change: transform, opacity; }

/* Base dropdown style */
.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2312161C' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6' stroke='%2312161C' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem; /* create space for arrow */
  border: 1px solid #d0d7de;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #12161C;
  transition: all 0.2s ease-in-out;
}

/* Hover and focus states */
.form-select:hover {
  border-color: #3BA7FF;
}

.form-select:focus {
  border-color: #0A57FF;
  box-shadow: 0 0 0 3px rgba(59, 167, 255, 0.25);
  outline: none;
}

/* Disabled state */
.form-select:disabled {
  background-color: #f2f4f7;
  color: #999;
  cursor: not-allowed;
}

/* For dark backgrounds (if any) */
.dark .form-select {
  background-color: #12161C;
  color: #fff;
  border-color: #3BA7FF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFFFFF' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6' stroke='%23FFFFFF' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.form-select {
  box-shadow: 0 1px 2px rgba(18, 22, 28, 0.05);
}

.invalid-feedback { display: none; color: #d9534f; font-size: .9rem; margin-top: .25rem; }
.is-invalid + .invalid-feedback { display: block; }
.invalid-feedback.d-block { display: block; }
.is-valid { border-color: #28a745 !important; }
.is-invalid { border-color: #d9534f !important; box-shadow: none !important; }

.btn-loading {
  pointer-events: none;
  opacity: 0.95;
}

/* spinner circle */
.btn-loading .spinner {
  display: inline-block;
  vertical-align: middle;
  width: 1rem;
  height: 1rem;
  margin-right: .6rem;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btn-spin .8s linear infinite;
}

/* if your buttons have dark text (not Bootstrap primary), use this variant */
.btn-loading.dark .spinner {
  border: 2px solid rgba(0,0,0,0.12);
  border-top-color: #111827;}

  @keyframes btn-spin { to { transform: rotate(360deg); } }

/* keep width stable while swapping innerHTML */
.btn[data-fixed-width] { display:inline-block; }