/* Roobert Font Family (woff2) */
@font-face {
  font-family: "Roobert";
  src: url("fonts/Roobert-Regular.woff2") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("fonts/Roobert-Medium.woff2") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roobert";
  src: url("fonts/Roobert-Bold.woff2") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* SFProDisplay Font Family (woff2) */
@font-face {
  font-family: "SFProDisplay";
  src: url("fonts/SFProDisplay-Regular.woff2") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SFProDisplay";
  src: url("fonts/SFProDisplay-Medium.woff2") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SFProDisplay";
  src: url("fonts/SFProDisplay-Bold.woff2") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SFProDisplay";
  src: url("fonts/SFProDisplay-Light.woff2") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Base Styles */
:root {
  --primary: #004385;
  --secondary: #05b2dc;
  --accent: #087ca7;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --light-gray: #f0f0f0;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --border-radius: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "SFProDisplay", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roobert", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 700;
}

/* For medium weight text */
.medium-text {
  font-family: "SFProDisplay", sans-serif;
  font-weight: 500;
}

/* For light weight text */
.light-text {
  font-family: "SFProDisplay", sans-serif;
  font-weight: 300;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.8rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--secondary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 12px 30px;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
  border: 2px solid var(--primary);
  cursor: pointer;
  font-size: 14px;
  font-family: "SFProDisplay", sans-serif;
}

.btn:hover {
  background: transparent;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.text-center {
  text-align: center;
}

section {
  padding: 80px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title p {
  max-width: 700px;
  margin: 15px auto 0;
  color: var(--gray);
  font-size: 1.1rem;
}

/* Header styles */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  border: 1px solid #ddd;
  padding: 0.5rem;
}

.logo {
  font-family: "Roobert", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-weight: 600;
  color: var(--dark);
  font-family: "SFProDisplay", sans-serif;
}

.nav-links a:hover {
  color: var(--primary);
}

nav .nav-cta {
  color: var(--light);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero section */
.hero {
  background: linear-gradient(
      135deg,
      rgba(0, 67, 133, 0.85) 0%,
      rgba(5, 178, 220, 0.85) 100%
    ),
    url("../assets/images/hero-bg.webp") center/cover no-repeat;
  color: var(--white);
  padding: 0; /* Remove padding since we'll handle spacing with flexbox */
  margin-top: 4rem;
  /* position: relative; */
  height: 80vh; /* Make hero full viewport height */
  display: flex;
  align-items: flex-end; /* Align content to bottom */
  justify-content: center;
}

.hero-content {
  max-width: 40rem;
  animation: fadeInUp 1s ease forwards;
  text-align: center;
  padding-bottom: 10vh; /* Position in lower third */
  width: 100%;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
  animation-delay: 0.2s;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  animation-delay: 0.4s;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn {
  animation-delay: 0.6s;
}

.btn:hover {
  background-color: white;
}

/* Values section */
.values {
  padding: 2rem 0;
  background-color: var(--dark);
}

.values ul {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.values li {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.values li p {
  color: var(--light);
  margin: 0;
}

.values li i {
  color: var(--secondary);
}

/* Services section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-0.8rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
}

.service-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 1rem;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
  gap: 1rem;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: left;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid #eee;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
}

.pricing-card.popular {
  border: 3px solid var(--accent);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.pricing-title h3 {
  margin: 0;
  font-size: 1.5rem;
}

.package-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 1rem;
}

.package-tag i {
  margin-right: 0.3rem;
}

.package-tag.great {
  background-color: #e6f7ff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.package-tag.basic {
  background-color: var(--light-gray);
  color: var(--gray);
  border: 1px solid var(--gray);
}

.package-description {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary);
  margin: 10px 0;
}

.price span {
  font-size: 1rem;
  color: var(--gray);
  font-weight: normal;
}

.processing-time {
  background-color: var(--light-gray);
  color: var(--gray);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  margin: 1rem 0;
  font-size: 0.8rem;
  text-align: center;
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: flex-start;
}

.pricing-features li i {
  color: var(--accent);
  margin-right: 10px;
  margin-top: 3px;
  flex-shrink: 0;
}

.price-button {
  width: 100%;
  text-align: center;
}

.table-container {
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 37.5rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.comparison-table thead th {
  background: var(--primary);
  color: white;
  font-weight: 600;
  padding: 1.5rem;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 2px solid var(--primary);
}

.comparison-table thead th:first-child {
  border-radius: var(--border-radius) 0 0 0;
}

.comparison-table thead th:last-child {
  border-radius: 0 var(--border-radius) 0 0;
}

.comparison-table tbody th {
  text-align: left;
  font-weight: 500;
  background: #f8f9fa;
}

.comparison-table tbody tr:nth-child(even) th {
  background: #f0f4f8;
}

.comparison-table tbody tr:last-child td,
.comparison-table tbody tr:last-child th {
  border-bottom: none;
}

.comparison-table .feature-column {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 31%;
  background: #f8f9fa;
}

.comparison-table td {
  width: 23%;
  text-align: center;
  word-wrap: break-word;
}

.comparison-table tbody tr:nth-child(even) .feature-column {
  background: #f0f4f8;
}

.comparison-table tbody tr:last-child .feature-column {
  border-radius: 0 0 0 var(--border-radius);
}

.comparison-table .fas.fa-check {
  color: #28a745;
}

.comparison-table .fas.fa-times {
  color: #dc3545;
}

.price-row {
  background-color: var(--accent);
  font-weight: bold;
  font-size: 1.1rem;
  border-top: 2px solid var(--accent);
}

.price-row td {
  color: #fff;
}

.price-row td p {
  font-size: 0.8rem;
}

/* Process section */
.process {
  background: var(--white);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 2rem;
}

.process-steps:before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  z-index: 1;
}

.step {
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-number {
  width: 5rem;
  height: 5rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
}

.step h3 {
  margin-bottom: 1rem;
}

/* States Section */
.states-section {
  background: linear-gradient(to bottom, #f0f8ff, #e6f7ff);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.states-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.state-title {
  text-align: center;
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 30px;
  min-height: 120px;
  transition: all 0.5s ease;
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 0.5rem;
  margin-top: 2rem;
}

.state-box {
  background: var(--white);
  border-radius: 0.25rem;
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  color: var(--primary);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.state-box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
}

.state-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--accent);
  background: #f0f8ff;
}

.empty {
  background: transparent;
  border: none;
  box-shadow: none;
}

.empty:before {
  display: none;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(135deg, #003d82 0%, #004385 100%);
  color: var(--white);
}

.testimonials .section-title h2 {
  color: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 20px;
}

.client {
  display: flex;
  align-items: center;
}

.client img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.client-info h4 {
  color: var(--white);
  margin-bottom: 5px;
}

.client-info p {
  font-style: normal;
  opacity: 0.8;
  margin: 0;
}

/* FAQ Section */
#faqs {
  background: #f8f9fa;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 2rem;
  background: var(--white);
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f0f4f8;
}

.faq-question:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer[aria-hidden="false"] {
  padding: 0 2rem 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

/* CTA Section */
.cta {
  text-align: center;
  background: var(--white);
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  color: var(--gray);
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-family: "SFProDisplay", sans-serif;
}

.footer-links a:hover {
  color: var(--accent);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* Responsive styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-steps:before {
    display: none;
  }

  .step {
    margin-bottom: 40px;
    max-width: 400px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .state-title {
    font-size: 2.8rem;
  }

  .states-grid {
    grid-template-columns: repeat(7, 1fr);
  }

  .values ul {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .table-container {
    border: 1px solid #eee;
  }

  .comparison-table .feature-column {
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 20px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 140px 0 80px;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  section {
    padding: 60px 0;
  }

  .state-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .comparison-table th,
  .comparison-table td {
    padding: 0.8rem 0.5rem;
    font-size: 0.9rem;
  }

  .comparison-table thead th {
    padding: 1rem 0.5rem;
  }

  .comparison-table .feature-column {
    min-width: 150px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 2rem;
  }

  .state-title {
    font-size: 1.8rem;
  }

  .states-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
