/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fcf9fa;
  color: #1e293b;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* =========================================
   GLOBAL THEME COLORS & GRADIENTS
========================================= */
:root {
  --theme-gradient: linear-gradient(340deg, #040203, rgba(208, 45, 129, 0.83));
  --theme-gradient-hover: linear-gradient(340deg, #1c0e15, rgba(228, 65, 149, 0.9));
  --theme-solid: #d02d81;
  --theme-dark: #040203;
  --theme-light: #fff0f7;
  --theme-accent: #f43f5e;
}


/* Navbar container */
.navbar {
  background: var(--theme-gradient);
  padding: 1.5rem 5rem;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(208, 45, 129, 0.2);
}

/* Logo */
.logo h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin: 0;
}

/* Hamburger Button */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.hamburger:active {
  transform: scale(0.95);
}

/* Navigation */
.nav-area {
  display: flex;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links li a:hover {
  color: #fff;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Mobile Responsive Navbar */
@media (max-width: 900px) {
  .navbar {
    padding: 0.9rem 1.2rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .logo h1 {
    font-size: 1.6rem;
  }

  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .hamburger:hover {
    background: rgba(255,255,255,0.1);
  }

  .hamburger:active {
    transform: scale(0.9);
  }

  /* ── Mobile Menu Panel ── */
  .nav-area {
    width: 100%;
    display: none;
    flex-direction: column;
    margin-top: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                margin-top 0.3s ease;
  }

  .nav-area.active {
    display: flex;
    max-height: 400px;
    opacity: 1;
    margin-top: 0.6rem;
    animation: mobileMenuIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  @keyframes mobileMenuIn {
    from {
      opacity: 0;
      max-height: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      max-height: 400px;
      transform: translateY(0);
    }
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    text-align: left;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 6px;
    backdrop-filter: blur(8px);
  }

  .nav-links li a {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.2s ease, color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-links li a:hover,
  .nav-links li a:focus {
    background: rgba(208, 45, 129, 0.2);
    color: #fff;
  }

  .nav-links li a:active {
    background: rgba(208, 45, 129, 0.35);
  }

  .nav-links li a::after {
    display: none;
  }

  /* Mobile menu backdrop overlay */
  .mobile-menu-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
  }
}

/* ====== HERO SECTION ====== */
.hero-section {
  position: relative;
  height: 600px;
  margin: 2rem 5rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(208, 45, 129, 0.2);
  background: linear-gradient(135deg, #12040a 0%, #2a0a18 100%);
}

.hero-slides {
  display: flex;
  height: 100%;
  position: relative;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4rem;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

/* Subtle animated background elements for hero */
.hero-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  position: relative;
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 900px;
  z-index: 2;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-content p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  font-weight: 400;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero-section { margin: 1rem 1.5rem; height: 450px; border-radius: 16px; }
  .hero-content h1 { font-size: 2.8rem; }
  .hero-content p { font-size: 1.1rem; }
  .hero-slide { padding: 0 2rem; }
}

/* ====== COMMON SECTION HEADER ====== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--theme-dark);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--theme-gradient);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/* ====== FEATURED SERVICES ====== */
.featured-services {
  padding: 6rem 5rem;
  background-color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  border: 1px solid #f1f5f9;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(208, 45, 129, 0.1), 0 10px 10px -5px rgba(208, 45, 129, 0.04);
  border-color: rgba(208, 45, 129, 0.2);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--theme-dark);
  margin-bottom: 1rem;
}

.service-card p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--theme-solid);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.service-link:hover {
  color: var(--theme-dark);
  gap: 5px;
}

@media (max-width: 900px) {
  .featured-services { padding: 4rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ====== CHOOSE YOUR STATE ====== */
.states-section {
  padding: 6rem 5rem;
  background-color: var(--theme-light);
  text-align: center;
}

.states-section h2 {
  font-size: 2.5rem;
  color: var(--theme-dark);
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.states-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--theme-gradient);
  border-radius: 2px;
}

/* State Selector Dropdown */
.state-selector-wrapper {
  max-width: 500px;
  margin: 0 auto 4rem;
  position: relative;
  text-align: center;
}

.state-selector-label {
  display: block;
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 1rem;
  font-weight: 500;
}

.state-dropdown {
  width: 100%;
  padding: 1.2rem 3rem 1.2rem 1.5rem;
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: white;
  color: #1e293b;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.state-dropdown:hover {
  border-color: var(--theme-solid);
}

.state-dropdown:focus {
  outline: none;
  border-color: var(--theme-solid);
  box-shadow: 0 0 0 4px rgba(208, 45, 129, 0.1);
}

.dropdown-icon {
  position: absolute;
  right: 20px;
  top: 50px;
  color: #64748b;
  font-size: 0.9rem;
  pointer-events: none;
}

/* States Grid */
.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.state-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.state-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--theme-solid);
  transition: width 0.3s ease;
}

.state-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(208, 45, 129, 0.1);
}

.state-card:hover::before {
  width: 100%;
  background: var(--theme-gradient);
  opacity: 0.05;
}

.state-initial {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--theme-solid);
  background: var(--theme-light);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-right: 1rem;
}

.state-card p {
  font-size: 1.05rem;
  font-weight: 600;
  color: #334155;
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.state-arrow {
  color: #94a3b8;
  font-size: 1.2rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.state-card:hover .state-arrow {
  transform: translateX(4px);
  color: var(--theme-solid);
}

@media (max-width: 900px) {
  .states-section { padding: 4rem 1.5rem; }
  .states-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
}


/* ====== LATEST NEWS ====== */
.home-latest-news {
  padding: 6rem 5rem;
  background-color: #ffffff;
}

.home-latest-news h2 {
  font-size: 2.5rem;
  color: var(--theme-dark);
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.home-latest-news h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--theme-gradient);
  border-radius: 2px;
}

.home-news-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.home-news-item {
  background-color: var(--theme-light);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(208, 45, 129, 0.05);
  transition: all 0.3s ease;
}

.home-news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(208, 45, 129, 0.1);
  background-color: #ffffff;
  border-color: rgba(208, 45, 129, 0.2);
}

.home-news-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--theme-solid);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home-news-item h3 {
  font-size: 1.3rem;
  color: var(--theme-dark);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.home-news-item p {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
}

.home-view-all-link {
  display: block;
  width: max-content;
  margin: 0 auto;
  padding: 1rem 3rem;
  background: var(--theme-gradient);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(208, 45, 129, 0.2);
}

.home-view-all-link:hover {
  background: var(--theme-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(208, 45, 129, 0.4);
}

@media (max-width: 900px) {
  .home-latest-news { padding: 4rem 1.5rem; }
  .home-news-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ====== STATS SECTION ====== */
.stats-section {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #12040a 0%, #2a0a18 100%);
  color: white;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

@media (max-width: 900px) {
  .stats-section { padding: 2rem 1rem; }
  .stats-grid { grid-template-columns: 1fr; gap: 1rem; }
  .stat-item { padding: 1.2rem; }
  .stat-number { font-size: 2.5rem; }
}


/* =========================================
   SUBPAGES & CONTENT STYLES
========================================= */

/* State / Service Page Header */
.state-header {
  background: var(--theme-light);
  padding: 5rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(208, 45, 129, 0.1);
}

.state-header h1 {
  font-size: 3.5rem;
  color: var(--theme-dark);
  margin-bottom: 1rem;
}

.state-header p {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* Content Sections Container */
.content-sections {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.content-sections h2 {
  font-size: 2.2rem;
  color: var(--theme-solid);
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.content-sections h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--theme-gradient);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Info Section Blocks (Subpage items) */
.info-section {
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 2.5rem;
  border: 1px solid rgba(208, 45, 129, 0.05);
}

.info-section h2, .info-section h3 {
  font-size: 1.8rem;
  color: var(--theme-dark);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--theme-light);
  padding-bottom: 0.5rem;
  text-align: left; /* Override parent */
}

.info-section h2::after, .info-section h3::after {
  display: none; /* remove center line for sub-headers */
}

.info-section p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.info-section ul, .info-section ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: #444;
}

.info-section li {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.info-section a {
  color: var(--theme-solid);
  font-weight: 600;
  text-decoration: none;
}

.info-section a:hover {
  text-decoration: underline;
}

/* Category Grid / Cards (For State Pages) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.category-card {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(208, 45, 129, 0.1);
  border-color: rgba(208, 45, 129, 0.2);
}

.category-card h3 {
  font-size: 1.5rem;
  color: var(--theme-dark);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--theme-light);
  padding-bottom: 0.5rem;
}

.category-card ul {
  list-style: none;
  padding-left: 0;
}

.category-card ul li {
  margin-bottom: 0.8rem;
}

.category-card ul li a {
  color: var(--theme-solid);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.category-card ul li a:hover {
  color: var(--theme-dark);
}

/* Call to Action Section (Subpages) */
.call-to-action-mid-section {
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--theme-light);
  border-radius: 16px;
  margin: 4rem auto;
  max-width: 800px;
  border: 1px dashed rgba(208, 45, 129, 0.3);
}

.call-to-action-mid-section p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1.5rem;
}

/* Central Direct Portal Button */
.direct-portal-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--theme-gradient);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(208, 45, 129, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.direct-portal-button:hover {
  background: var(--theme-gradient-hover);
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(208, 45, 129, 0.5);
}

/* Subpage small text */
.small-text {
  font-size: 0.95rem;
  color: #777;
  text-align: center;
  display: block;
  margin: 1.5rem auto;
}

/* Subpage responsive adjustments */
@media (max-width: 768px) {
  .state-header { padding: 3rem 1.5rem; }
  .state-header h1 { font-size: 2.5rem; }
  .content-sections { padding: 2rem 1.5rem; }
  .content-sections h2 { font-size: 1.8rem; }
  .info-section { padding: 1.5rem; }
  .info-section h2, .info-section h3 { font-size: 1.5rem; }
  .direct-portal-button { padding: 1rem 2rem; font-size: 1.1rem; width: 100%; box-sizing: border-box; text-align: center; }
}


/* ====== FOOTER ====== */
#smart-footer-section {
  background-color: #000000;
  color: #f1f5f9;
  padding: 5rem 5rem 2rem 5rem;
  border-top: 4px solid var(--theme-solid);
}

.footer-flex-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  margin-bottom: 4rem;
}

.footer-column-box h4 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 1rem;
}

.footer-links-list li a, .footer-links-list li {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-links-list li a:hover {
  color: var(--theme-solid);
}

.copyright-final-bar {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  color: #64748b;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  #smart-footer-section { padding: 4rem 1.5rem 2rem 1.5rem; }
  .footer-flex-container { gap: 2rem; text-align: center; }
}

/* Page load animation classes */
.fade-in {
  opacity: 1; /* Changed from 0 to 1 so items don't stay hidden if JS fails */
  transform: none;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}
/* Contact Page Forms */
.contact-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.contact-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px -5px rgba(208, 45, 129, 0.15);
  border: 1px solid rgba(208, 45, 129, 0.1);
  margin-bottom: 3rem;
}

.contact-card h2 {
  font-size: 2rem;
  color: var(--theme-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background-color: #f8fafc;
  color: #1e293b;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--theme-solid);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(208, 45, 129, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 1.2rem;
  background: var(--theme-gradient);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(208, 45, 129, 0.2);
}

.submit-btn:hover {
  background: var(--theme-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(208, 45, 129, 0.4);
}

.report-section {
  text-align: center;
  padding: 2rem;
  background: var(--theme-light);
  border-radius: 16px;
  border: 1px dashed rgba(208, 45, 129, 0.3);
}

.report-section h3 {
  color: var(--theme-solid);
  margin-bottom: 1rem;
}


/* State Selector Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.state-modal {
  background: white;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .state-modal {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}

.modal-header h3 {
  margin: 0;
  color: var(--theme-dark);
  font-size: 1.5rem;
}

.close-modal {
  background: none;
  border: none;
  font-size: 2rem;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}

.close-modal:hover {
  color: #ef4444;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.modal-state-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
}

.modal-state-btn:hover {
  background: var(--theme-light);
  border-color: var(--theme-solid);
  color: var(--theme-solid);
  transform: translateY(-2px);
}

.trigger-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.2rem 1.5rem;
  font-size: 1.1rem;
  font-family: "Inter", sans-serif;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: white;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.trigger-modal-btn:hover {
  border-color: var(--theme-solid);
}


/* Custom State Selector Modal */
.state-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.state-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.state-modal {
  background: #ffffff;
  width: 90%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: 1px solid rgba(208, 45, 129, 0.2);
}

.state-modal-overlay.active .state-modal {
  transform: translateY(0);
}

.state-modal-header {
  padding: 1.5rem;
  background: var(--theme-light);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.state-modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--theme-dark);
}

.state-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748b;
  line-height: 1;
  padding: 0.25rem;
}

.state-modal-search {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.state-modal-search input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.state-modal-search input:focus {
  border-color: var(--theme-solid);
  box-shadow: 0 0 0 3px rgba(208, 45, 129, 0.1);
}

.state-list-container {
  overflow-y: auto;
  padding: 0;
  margin: 0;
  list-style: none;
}

.state-list-group {
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.state-list-item {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.state-list-item:hover {
  background: var(--theme-light);
  color: var(--theme-solid);
}

.state-list-item.selected {
  background: rgba(208, 45, 129, 0.05);
  font-weight: 600;
  color: var(--theme-solid);
}

.custom-state-trigger {
  width: 100%;
  padding: 1.2rem 3rem 1.2rem 1.5rem;
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: white;
  color: #1e293b;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  position: relative;
  display: block;
}

.custom-state-trigger:hover {
  border-color: var(--theme-solid);
}

.custom-state-trigger::after {
  content: "?";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.8rem;
}

.state-clear-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  text-align: center;
  background: #f8fafc;
  color: #ef4444;
  font-weight: 600;
  cursor: pointer;
  border-top: 1px solid #e2e8f0;
  transition: background 0.2s;
}

.state-clear-btn:hover {
  background: #f1f5f9;
}

@media (max-width: 600px) {
  .state-modal {
    width: 100%;
    max-width: none;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    transform: translateY(100%);
  }
}

