:root {
  /* Color System */
  --primary-bg: #FFFFFF;
  --secondary-bg: #F8F9FA;
  --card-bg: #FFFFFF;

  --primary-green: #5C7F0E;
  --secondary-green: #7FB800;
  --primary-orange: #E87722;
  --secondary-orange: #d16616;

  --primary-text: #212529;
  --secondary-text: #5F6368;
  --light-text: #6C757D;
  --border-color: #DEE2E6;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Typography */
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--primary-bg);
  color: var(--primary-text);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #111;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
}

.bg-light {
  background-color: var(--secondary-bg);
}

.bg-dark {
  background-color: #1a1a1a;
  color: #fff;
}

.section-hero-gradient {
  background: linear-gradient(90deg, #fff 10%, #E8F5D6 50%, var(--secondary-green) 100%);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-800 {
  max-width: 800px;
}

.text-white {
  color: #fff;
}

.text-light {
  color: rgba(255, 255, 255, 0.8);
}

.small-text {
  font-size: 0.875rem;
  color: var(--light-text);
}

.italic {
  font-style: italic;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 3rem !important;
}

/* Added utility class for mt-5 */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-size: 1rem;
  text-transform: capitalize;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: #fff;
  border: 2px solid var(--primary-orange);
  /* Add border to prevent sizing jump on hover */
}

.btn-primary:hover {
  background-color: #fff;
  /* Hover Background White */
  color: var(--primary-orange);
  /* Text Color Orange */
  border-color: var(--primary-orange);
}

.btn-secondary {
  background-color: #fff;
  border: 1px solid var(--border-color);
  color: var(--primary-text);
}

.btn-secondary:hover {
  background-color: #f8f9fa;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-text);
  color: var(--primary-text);
}

.btn-outline:hover {
  background-color: var(--primary-text);
  color: #fff;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

.btn-link {
  color: var(--primary-orange);
  text-decoration: underline;
  background: none;
  padding: 0;
}

/* Header */
header {
  background-color: #fff;
  min-height: 64px;
  height: auto;
  padding-top: 5px;
  padding-bottom: 5px;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Header Logo: Text Branding */
.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #E87722;
  /* Primary Orange */
  text-decoration: none;
  white-space: nowrap;
}

.logo:hover {
  color: #d16616;
}

/* Footer Logo: Text Branding */
.footer-logo-link {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #E87722;
  text-decoration: none;
}

.footer-logo-link:hover {
  color: #d16616;
}

/* Deprecated Image Classes (can remain or be emptied) */
.logo-img,
.footer-logo-img {
  display: none;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary-text);
}

.nav-links a:hover {
  color: var(--primary-green);
}

/* Footer */
footer {
  background-color: var(--primary-green);
  color: #fff;
  padding: 2rem 0;
  /* Reduced from likely 4rem or default */
  font-size: 0.9rem;
  font-weight: 600;
}

/* Trust Bar */
.trust-bar {
  background-color: var(--primary-green);
  color: #fff;
  padding: 12px 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.trust-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.trust-bar-text {
  flex: 1;
  text-align: left;
}

.trust-bar-btn {
  background-color: var(--primary-orange);
  color: #fff;
  padding: 6px 16px;
  font-size: 0.85rem;
  border-radius: 4px;
}

.trust-bar-btn:hover {
  background-color: var(--secondary-orange);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #ffffff 40%, rgba(255, 255, 255, 0) 60%, rgba(0, 0, 0, 0.6) 100%), url('../Free Government iPhone.webp') no-repeat center center;
  background-size: cover;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-visual {
  flex: 1;
  max-width: 50%;
  display: block;
}

.hero-text-content {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-text-content h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--primary-text);
}

.hero-intro-text {
  font-size: 1.15rem;
  color: var(--primary-text);
  font-weight: 500;
}

.hero-disclaimer-text {
  font-size: 1rem;
  color: var(--secondary-text);
  font-style: italic;
  background: rgba(255, 255, 255, 0.6);
  padding: 1rem;
  border-radius: 4px;
  border-left: 3px solid var(--primary-green);
}

.hero-small-text {
  font-size: 0.85rem;
  color: var(--light-text);
}

/* Feature Bar */
.feature-bar {
  background-color: var(--primary-orange);
  color: #fff;
  padding: 2rem 0;
}

.feature-bar .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}

/* Content Grid & Cards */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s;
}

.step-icon {
  background: var(--primary-orange);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.layout-grid-2-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.eligibility-list-box {
  background: #fff;
  border-left: 4px solid var(--primary-green);
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f0f0f0;
}

.check-icon {
  color: var(--primary-green);
  margin-right: 0.5rem;
}

.styled-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.styled-list li::before {
  content: "•";
  color: var(--primary-green);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.info-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.highlight-card {
  border-top: 4px solid var(--primary-orange);
}

.document-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.document-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.doc-icon {
  font-size: 1.5rem;
  background: #f8f9fa;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.sub-text {
  display: block;
  font-size: 0.85rem;
  color: var(--secondary-text);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-box {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.benefit-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.models-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.model-badge {
  background: #f0f0f0;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--primary-text);
}


/* PREMUM: Trusted Providers */
.providers-grid.expanded-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.provider-card-premium {
  background: #fff;
  padding: 1.5rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.provider-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-green);
  opacity: 0;
  transition: opacity 0.3s;
}

.provider-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-green);
}

.provider-card-premium:hover::before {
  opacity: 1;
}

.provider-name {
  font-weight: 700;
  color: #333;
  font-size: 1.1rem;
}

.provider-badge {
  margin-top: 0.5rem;
  background: #e6f4ea;
  color: var(--primary-green);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

/* PREMIUM: Trust Transparency Box */
.premium-trust-box {
  background: #fff;
  border-radius: 16px;
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(92, 127, 14, 0.08);
  /* Green tinted shadow */
  border: 1px solid #f0f0f0;
  text-align: center;
}

.trust-header {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.shield-icon {
  font-size: 2.5rem;
}

.trust-header h3 {
  margin: 0;
  font-size: 1.75rem;
  background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.trust-body p {
  font-size: 1.1rem;
  color: var(--secondary-text);
  margin-bottom: 2rem;
}

.trust-pills {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.trust-pill {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  color: var(--primary-text);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.trust-pill::before {
  content: "✓";
  color: var(--primary-green);
  margin-right: 6px;
  font-weight: bold;
}

.trust-footer-text {
  font-size: 0.9rem;
  color: #999;
  border-top: 1px solid #f0f0f0;
  padding-top: 1.5rem;
  display: inline-block;
  width: 100%;
  max-width: 600px;
}


/* Accordion FAQ Styles */
.accordion-container {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  transition: background-color 0.2s;
}

.accordion-header:hover {
  background-color: #f9f9f9;
}

.accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  width: 24px;
  height: 24px;
  opacity: 0.6;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #fff;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

.accordion-content p {
  padding: 1.5rem;
  margin: 0;
  border-top: 1px solid #f0f0f0;
}

/* Active State */
.accordion-item.active .accordion-header {
  background-color: #e6f0d4;
  /* Matching Light Green from image */
  color: #111;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  /* Expand content */
}

@media (max-width: 768px) {
  .accordion-header {
    padding: 1rem;
    font-size: 1rem;
  }
}


/* Dropdown Position Fix */
.nav-item {
  position: relative;
}

/* Ensure absolute position relative to item */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  /* No gap */
  background-color: #fff;
  border: 1px solid var(--border-color);
  min-width: 220px;
  display: none;
  flex-direction: column;
  padding: 0.5rem 0;
  z-index: 1001;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-top: 2px solid var(--primary-green);
  /* Visual connector */
}

/* Mobile Menu & General Responsive */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--primary-text);
  transition: all 0.3s ease;
}

.dropdown-item a {
  padding: 0.75rem 1.5rem;
  width: 100%;
}

.dropdown-item a:hover {
  background-color: var(--secondary-bg);
  color: var(--primary-green);
}

.nav-item.dropdown:hover .dropdown-menu {
  display: flex;
}

@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    border-bottom: 1px solid var(--border-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    gap: 0;
    box-shadow: none;
  }

  .nav-links.active {
    max-height: 100vh;
    overflow-y: auto;
  }

  .nav-item {
    width: 100%;
    border-top: 1px solid #f0f0f0;
  }

  .nav-links a {
    padding: 1rem 1.5rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .nav-item.apply-btn-item {
    padding: 1rem;
    text-align: center;
  }

  .nav-item.apply-btn-item .btn {
    width: 100%;
  }

  .hero-container {
    flex-direction: column;
  }

  .hero-content,
  .hero-visual,
  .hero-card,
  .hero-text-content {
    max-width: 100%;
  }

  .layout-grid-2-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Footer - Original */
/* Footer - Original (Removed to favor compact definition above) */

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col a:hover {
  color: var(--primary-orange);
  padding-left: 5px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 1rem;
  display: block;
}

.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
  border: none;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.social-icon[aria-label="Facebook"] {
  color: #1877F2;
}

.social-icon[aria-label="Pinterest"] {
  color: #BD081C;
}

.social-icon[aria-label="Twitter"] {
  color: #000000;
}

.social-icon[aria-label="YouTube"] {
  color: #FF0000;
}

.social-icon[aria-label="Instagram"] {
  color: #C13584;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}


/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fade-in-up {
  animation-name: fadeInUp;
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}