/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */

:root {
  /* Header Height for Scroll Offset */
  --header-h: 72px;
  
  /* Brand Colors */
  --primary-red: #e94235;
  --primary-blue: #193574;
  --primary-blue-dark: #264c8b;
  --footer-bg: #000e26;
  
  /* Text Colors */
  --text-dark: #333;
  --text-light: #6c757d;
  --text-white: #fff;
  --text-muted: #999;
  --text-footer: rgba(255, 255, 255, 0.5);
  
  /* Background Colors */
  --bg-light: #f8f9fa;
  --bg-white: #fff;
  --bg-secondary: #f9fbff;
  --bg-gradient-light: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  --bg-gradient-blue: linear-gradient(135deg, #193574 0%, #2a4a8f 100%);
  
  /* Border Colors */
  --border-light: #e9ecef;
  --border-footer: rgba(255, 255, 255, 0.2);
  
  /* Spacing */
  --section-padding: 4rem 0;
  --mobile-padding: 2rem 0;
  
  /* Margins */
  --margin-xs: 4px;
  --margin-sm: 8px;
  --margin-md: 12px;
  --margin-lg: 16px;
  --margin-xl: 20px;
  --margin-xxl: 24px;
  
  /* Paddings */
  --padding-xs: 4px;
  --padding-sm: 8px;
  --padding-md: 12px;
  --padding-lg: 16px;
  --padding-xl: 20px;
  --padding-xxl: 24px;
  --padding-card: 22px;
  
  /* Border Radius */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-round: 50%;
  --radius-full: 999px;
  
  /* Border Widths */
  --border-xs: 1px;
  --border-sm: 2px;
  --border-md: 3px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 8px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 16px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-2xl: 0 16px 40px rgba(15, 23, 42, 0.12);
}

/* ==========================================================================
   SMOOTH SCROLL BEHAVIOR
   ========================================================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h); /* offsets anchor jump */
}

/* ==========================================================================
   GENERAL STYLES
   ========================================================================== */

body {
  font-family: 'Mont', 'Mont Book', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

main {
  padding-top: 80px; /* Account for fixed header */
  min-height: calc(100vh - 200px); /* Ensure minimum height */
}

a {
  text-decoration: none;
  color: inherit;
}
/* ==========================================================================
   THEME BUTTON STYLES
   ========================================================================== */

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--text-white);
  height: 45px;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
  background-color: var(--primary-red);
  padding: 0 var(--padding-xl);
  overflow: hidden;
  font-weight: 700;
  border: none;
  text-decoration: none;
  transition: all 0.5s ease-in-out;
  gap: var(--margin-sm);
  max-width: 320px;
}

.theme-btn::before {
  background-color: var(--primary-blue-dark) !important;
  position: absolute;
  left: -1px;
  top: -1px;
  z-index: -1;
  height: 103%;
  width: 102%;
  border-radius: var(--radius-md);
  content: "";
  transform: scale(0, 1);
  transform-origin: top right;
  transition: transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
}

.theme-btn:hover {
  color: var(--text-white);
}

.theme-btn:hover::before {
  transform: scale(1, 1);
  transform-origin: top left;
}

.theme-btn:hover img {
  transform: translateY(-1px) translateX(8px);
}

.theme-btn img {
  transition: transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Theme Button Secondary Variant */
.theme-btn-secondary {
  background-color: var(--primary-blue-dark);
  color: var(--text-white);
}

.theme-btn-secondary::before {
  background-color: var(--primary-blue) !important;
}

.theme-btn-secondary:hover {
  color: var(--text-white);
}

.theme-btn-secondary:hover::before {
  transform: scale(1, 1);
  transform-origin: top left;
}

/* ==========================================================================
   INFO MARK STYLES
   ========================================================================== */

.info-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 12px;
  width: 12px;
  border-radius: var(--radius-full);
  color: #fff;
  background: var(--primary-blue);
  font-size: 7px;
  font-weight: 700;
  border: none;
  cursor: help;
  transition: all 0.3s ease;
}

.info-mark i {
  font-size: 7px;
  line-height: 1;
}

/* Tooltip styling */
.tooltip {
  font-size: 13px;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: var(--primary-blue);
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: var(--primary-blue);
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
  border-left-color: var(--primary-blue);
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
  border-right-color: var(--primary-blue);
}

.tooltip-inner {
  background-color: var(--primary-blue);
  color: var(--text-white);
  border-radius: var(--radius-md);
  padding: var(--margin-sm) var(--margin-md);
  max-width: 250px;
  text-align: left;
}

.tooltip-inner h6 {
  color: var(--text-white);
  font-weight: 600;
  margin: 0 0 4px 0;
  font-size: 13px;
}

.tooltip-inner p {
  color: var(--text-white);
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

/* ==========================================================================
   CTA BUTTON STYLES
   ========================================================================== */

.cta {
  width: 100%;
  border: 0;
  background: var(--primary-red);
  color: #fff;
  padding: var(--padding-md) var(--padding-lg);
  border-radius: var(--radius-lg);
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 14px rgba(231, 76, 60, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta:hover {
  background: #cf3e30;
}

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

/* CTA Link - Make anchor tags behave like buttons */
.cta-link {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.navbar-white {
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-white .main-links,
.navbar-white i {
  color: black !important;
}

.navbar-white.scrolled {
  background-color: var(--bg-white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sticky-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1050;
}

.navbar-brand img {
  max-width: 150px;
  height: auto;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-blue) !important;
}

/* Dropdown Styles */
.menu > .nav-item.submenu .dropdown-menu {
  top: 100%;
  margin: 10px;
  border-radius: 4px;
  left: -26px;
  min-width: max-content;
  border: none;
  background: var(--bg-white);
  padding: 0;
  box-shadow: none;
  border: none;
}

@media (min-width: 1200px) {
  .menu > .nav-item.submenu .dropdown-menu {
    transform: translateY(20px);
    transition: all 0.3s ease-in;
    opacity: 0;
    visibility: hidden;
    display: block;
    padding: 15px 0;
    box-shadow: 0 15px 25px 0 rgba(4, 73, 89, 0.1);
    border: 1px solid #ebebeb;
  }
}

.menu > .nav-item.submenu .dropdown-menu .nav-item {
  padding: 0 30px 0 20px;
  transition: all 0.3s linear;
  position: relative;
}

.menu > .nav-item.submenu .dropdown-menu .nav-item + .nav-item {
  margin-top: 8px;
}

.menu > .nav-item.submenu .dropdown-menu .nav-item .nav-link {
  padding: 0;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.2s linear;
  position: relative;
  display: inline-block;
}

.menu > .nav-item.submenu .dropdown-menu .nav-item .nav-link:hover {
  color: var(--primary-red) !important;
}

@media (min-width: 1200px) {
  .menu > .nav-item:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}

.mobile_dropdown_icon {
  font-size: 12px;
}

/* Mobile Header Styles */
@media (max-width: 1199.98px) {
  /* Burger Button */
  .navbar-toggler {
    border: none;
    background-color: var(--primary-red);
    border-radius: 4px;
    padding: 0 6px;
    transition: all 0.3s ease;
    width: 52px;
    height: 45px;
  }

  .navbar-toggler:hover {
    background-color: var(--primary-blue-dark);
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(233, 66, 53, 0.25);
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  /* Mobile Dropdown Background */
  .navbar-collapse {
    background-color: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    margin-top: 10px;
    padding: 1rem;
  }

  /* Mobile Menu Items */
  .navbar-nav .nav-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 0.5rem 0;
  }

  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }

  .navbar-nav .nav-link {
    color: var(--text-dark) !important;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
  }

  .navbar-nav .nav-link:hover {
    background-color: var(--bg-light);
    color: var(--primary-red) !important;
  }

  /* Mobile Dropdown Menus */
  .dropdown-menu {
    background-color: transparent !important;
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0.25rem 0;
    border-radius: 6px;
  }

  .dropdown-menu .nav-item {
    border-bottom: none;
    padding: 0;
  }

  .dropdown-menu .nav-link {
    padding: 0.25rem 1.5rem;
    font-size: 13px;
    color: var(--text-light) !important;
  }

  .dropdown-menu .nav-link:hover {
    background-color: transparent;
    color: var(--primary-red) !important;
  }

  /* Theme Button Mobile */
  .theme-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */

.footer-area {
  background: var(--footer-bg);
  color: var(--text-white);
  padding: var(--section-padding) 0 2rem;
}

.footer-area h2 {
  color: var(--text-white);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-area h5 {
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-area hr {
  border-color: var(--text-white);
  border-width: 1px;
  margin: 1.5rem 0;
  opacity: 0.3;
}

/* CTA Section */
.footer-cta {
  padding: 2rem 0;
}

.footer-cta p {
  color: var(--text-footer);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Service List */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1rem;
}

.service-list a {
  color: var(--text-white);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.service-list a:hover {
  color: var(--primary-red);
}

/* Office List */
.office-list {
  padding-left: 1rem;
}

.office-list h6 {
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.office-list p {
  color: var(--text-footer);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

/* Main Footer */
.main-footer {
  margin-top: 2rem;
}

.main-footer .logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 1rem;
}

.main-footer h5 {
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.main-footer p {
  color: var(--text-footer);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Footer Menu */
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-menu a {
  color: var(--text-white);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-menu a:hover {
  color: var(--primary-red);
}

/* Contact List */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-list > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-list .icon {
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.contact-list a {
  color: var(--text-footer);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.contact-list a:hover {
  color: var(--primary-red);
}

/* Footer Contact Icon Styles */
.footer-contact-icon {
  width: 24px;
  height: 24px;
  background: var(--primary-blue-dark);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--margin-sm);
  flex-shrink: 0;
}

.footer-contact-icon img {
  width: 12px;
  height: 12px;
  filter: brightness(0) invert(1);
}

/* Contact Badge */
.contact-badge {
  display: inline-block;
}

.contact-badge .badge-text {
  color: var(--primary-red);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

/* Contact Form Card Styles */
.contact-form-card {
  background: var(--bg-white);
  border: var(--border-xs) solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--padding-xl);
  height: 100%;
  transition: all 0.3s ease;
}

.contact-form-card:hover {
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-blue);
}

.contact-form-card h4 {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Form Styles */
.contact-form .form-control {
  border: var(--border-xs) solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--padding-md) var(--padding-lg);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: var(--bg-white);
  color: var(--text-dark);
}

.contact-form .form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(25, 53, 116, 0.15);
  outline: none;
}

.contact-form .form-control:disabled {
  background-color: var(--bg-light);
  color: var(--text-light);
  cursor: not-allowed;
  opacity: 0.6;
}

.contact-form .form-control:disabled::placeholder {
  color: var(--text-muted);
}

/* Contact Form Loading State */
.contact-form .loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

.contact-form .loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Contact Form Validation Errors */
.contact-form .is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.contact-form .invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
    font-weight: 500;
}

.contact-form .form-select {
  border: var(--border-xs) solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--padding-md) var(--padding-lg);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: var(--bg-white);
  color: var(--text-dark);
}

.contact-form .form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(25, 53, 116, 0.15);
  outline: none;
}

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

/* ITI Phone Input - Prevent Shrinking */
.contact-form .iti {
  width: 100% !important;
  flex-shrink: 0;
  min-width: 0;
}

.contact-form .iti__selected-flag {
  flex-shrink: 0;
  min-width: 60px;
}

.contact-form .iti input[type="tel"] {
  width: 100% !important;
  flex: 1;
  min-width: 0;
}

/* ITI Dropdown Styling */
.contact-form .iti__country-list {
  width: 100%;
  min-width: 300px;
  border: var(--border-xs) solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  background: var(--bg-white);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  margin-top: 2px;
}

.contact-form .iti__country {
  padding: var(--padding-sm) var(--padding-md);
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: var(--margin-sm);
}

.contact-form .iti__country:last-child {
  border-bottom: none;
}

.contact-form .iti__country:hover {
  background-color: var(--bg-light);
}

.contact-form .iti__country.iti__highlight {
  background-color: var(--primary-blue);
  color: var(--text-white);
}

.contact-form .iti__country.iti__highlight .iti__country-name,
.contact-form .iti__country.iti__highlight .iti__dial-code {
  color: var(--text-white);
}

.contact-form .iti__flag {
  margin-right: var(--margin-sm);
  flex-shrink: 0;
}

.contact-form .iti__country-name {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  flex: 1;
}

.contact-form .iti__dial-code {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 400;
}

/* Form Select Dropdown Styling */
.contact-form .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right var(--padding-md) center;
  background-size: 16px 12px;
  padding-right: calc(var(--padding-lg) + 20px);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.contact-form .form-select:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23193574' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
}

/* Custom Dropdown Options Styling */
.contact-form .form-select option {
  padding: var(--padding-sm) var(--padding-md);
  color: var(--text-dark);
  background: var(--bg-white);
}

.contact-form .form-select option:hover {
  background-color: var(--bg-light);
}

.contact-form .form-select option:checked {
  background-color: var(--primary-blue);
  color: var(--text-white);
}

/* Alert Styles */
.contact-form .alert {
  border-radius: var(--radius-md);
  border: none;
  padding: var(--padding-md) var(--padding-lg);
  margin-bottom: var(--margin-lg);
  font-size: 0.9rem;
}

.contact-form .alert-success {
  background-color: #d1edff;
  color: #0c5460;
}

.contact-form .alert-primary {
  background-color: #cce5ff;
  color: #004085;
}

.contact-form .alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

/* Contact Card Styles */
.contact-card {
  height: 100%;
  border: var(--border-xs) solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  background: var(--bg-white);
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-blue);
  text-decoration: none;
  color: inherit;
}

.contact-card-body {
  padding: var(--padding-xl);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-header {
  display: flex;
  align-items: center;
  gap: var(--margin-md);
  margin-bottom: var(--margin-md);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-gradient-blue);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1); /* Make icons white */
}

.contact-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-title {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.3;
}

.contact-description {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: var(--margin-md);
  line-height: 1.5;
}

.contact-link {
  color: var(--primary-red);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-card-body {
    padding: var(--padding-lg);
  }
  
  .contact-header {
    gap: var(--margin-sm);
    margin-bottom: var(--margin-sm);
  }
  
  .contact-icon {
    width: 36px;
    height: 36px;
  }
  
  .contact-icon img {
    width: 18px;
    height: 18px;
  }
  
  .contact-title {
    font-size: 1rem;
  }
  
  .contact-description {
    font-size: 0.85rem;
    margin-bottom: var(--margin-sm);
  }
  
  .contact-link {
    font-size: 0.9rem;
  }
}

/* Social Media */
.social-list {
  display: flex;
  gap: 1rem;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-list a:hover {
  background: var(--primary-red);
  color: var(--text-white);
  transform: translateY(-2px);
}

.social-list i {
  font-size: 1.2rem;
}

/* Footer Bottom */

.footer-bottom p {
  color: var(--text-footer);
  font-size: 0.85rem;
  line-height: 18px;
  margin: 0 0 1.5rem 0;
  padding-top: 1rem;
}

.footer-link {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.footer-link span {
  color: var(--text-footer);
  font-size: 0.9rem;
}

.footer-link .separator {
  color: var(--text-footer);
  font-weight: 300;
}

.footer-link a {
  color: var(--text-footer);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-link a:hover {
  color: var(--primary-red);
}

/* Mobile Footer Styles */
@media (max-width: 768px) {
  .footer-area {
    padding: 2rem 0 1rem;
  }
  
  .footer-cta {
    padding: 1rem 0;
  }
  
  .footer-cta h2 {
    font-size: 1.5rem;
  }
  
  .footer-cta p {
    font-size: 1rem;
  }
  
  /* Services and Offices Section */
  .footer-area h5 {
    text-align: center;
  }
  
  .service-list {
    text-align: left;
  }
  
  .office-list {
    text-align: center;
  }
  
  .office-list h6 {
    font-size: 1.1rem;
  }
  
  .office-list p {
    font-size: 0.9rem;
    text-align: left;
  }
  
  /* Main Footer */
  .main-footer {
    text-align: center;
  }
  
  .main-footer .logo {
    margin: 0 auto 1rem;
  }
  
  .main-footer h5 {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .footer-menu {
    align-items: center;
  }
  
  .contact-list {
    align-items: center;
  }
  
  .contact-list > div {
    justify-content: center;
  }
  
  .social-list {
    justify-content: center;
    margin-top: 1rem;
  }
  
  /* Footer Bottom */
  .footer-bottom {
    text-align: center;
  }
  
  .footer-link {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .footer-link .separator {
    display: none;
  }
}

/* Tablet Footer Styles */
@media (min-width: 769px) and (max-width: 991px) {
  .footer-area {
    padding: 3rem 0 2rem;
  }
  
  /* Services and Offices Section */
  .footer-area h5 {
    text-align: center;
  }
  
  .office-list {
    text-align: center;
  }
  
  .office-list p {
    text-align: left;
  }
  
  .main-footer {
    text-align: center;
  }
  
  .main-footer .logo {
    margin: 0 auto 1rem;
  }
  
  .main-footer h5 {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .footer-menu {
    align-items: center;
  }
  
  .contact-list {
    align-items: center;
  }
  
  .contact-list > div {
    justify-content: center;
  }
  
  .social-list {
    justify-content: center;
    margin-top: 1rem;
  }
}

/* ==========================================================================
   HERO SECTION STYLES
   ========================================================================== */

/* Hero Gradient Background */
.hero-gradient-bg {
  background: linear-gradient(90deg,rgba(255, 255, 255, 1) 50%, rgba(25, 53, 116, 0.85) 100%);
  position: relative;
  overflow: hidden;
}

.hero-gradient-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 50%, rgba(140, 173, 231, 0.3) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.banner-area-one {
  padding-top: 48px;
  padding-bottom: 48px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Center hero image */
.hero-img {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-img img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.banner-area-one .container {
  position: relative;
  z-index: 1;
}


.banner-area-one .subtitle {
  color: var(--primary-red);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.banner-area-one .h1 {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.banner-area-one p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.powerdby {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.powerdby h6 {
  color: var(--text-muted);
  font-size: 11px;
  margin: 0;
}

.hero-placeholder {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  height: 400px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   SALES PAGE STYLES
   ========================================================================== */

/* Packages Section */
.packages-section {
  background: var(--bg-white);
  position: relative;
  z-index: 2;
}

.section-title {
  margin-bottom: 3rem;
}

.section-heading {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.section-subtitle-expanded {
  max-width: 1000px;
}

/* Breadcrumb Styles */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item {
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb-item a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--primary-red);
}

.breadcrumb-item.active {
  color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: var(--text-muted);
  margin: 0 0.5rem;
}

/* Package Card Styles */
.feature-card-box {
  width: 100%;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: var(--border-xs) solid var(--border-light);
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
}

/* Additional styles for flow pages */
.select-structure-page .feature-card-box {
  margin-bottom: 1rem;
}

.select-structure-page .pricing-area {
  padding: 2rem 0;
}

.select-structure-page .section-title-2 {
  text-align: center;
  margin-bottom: 3rem;
}

.select-structure-page .section-title-2 h2 {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.select-structure-page .section-title-2 p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Flow page specific styles */
.select-structure-page ul.check-list li {
  flex-wrap: nowrap !important;
}

.select-structure-page .tooltip-inner {
  max-width: 300px !important;
  text-align: center;
}

.select-structure-page .service-item.disabled {
  opacity: 0.5;
}

.select-structure-page .service-item.disabled .icon i {
  color: #ccc;
}

.feature-card-box .title {
  padding: var(--padding-lg) var(--padding-card) 0 var(--padding-card);
  margin-bottom: var(--margin-sm);
}

.feature-card-box .title-content {
  display: flex;
  align-items: center;
  gap: var(--margin-md);
}

.feature-card-box .title-content .tier-label {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 20px;
  margin: 0;
  flex: 1;
}

.feature-card-box .price-row {
  padding: 0 var(--padding-card);
  margin-bottom: var(--margin-sm);
  display: flex;
  align-items: center;
  gap: var(--margin-sm);
}

.feature-card-box .price-legend {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-style: italic;
  opacity: 0.7;
}

.feature-card-box .icon {
  height: 48px;
  width: 48px;
  border-radius: var(--radius-round);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.feature-card-box .icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.feature-card-box .icon i {
  color: var(--primary-blue);
  font-size: 1.5rem;
}

.feature-card-box .price-title {
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  display: inline-block;
}

.feature-card-box .price-title span {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
}

/* Price Original - Crossed out original price */
.price-original {
  text-decoration: line-through;
  text-decoration-color: #e94235;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 700;
}

/* Discount Badge - Green circular border */
.discount {
  color: var(--text-dark);
  background: transparent;
  border: 4px solid #40b48c;
  border-radius: 50%;
  padding: 2px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.feature-card-box .package-description {
  padding: 0 var(--padding-card);
  margin-bottom: var(--margin-sm);
  flex: 1;
  min-height: 40px;
  display: flex;
  align-items: flex-start;
}

.feature-card-box .package-description p {
  color: var(--text-light);
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0;
  font-style: italic;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0 var(--padding-card);
  display: grid;
  gap: var(--margin-sm);
  flex-shrink: 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: var(--margin-sm);
  font-size: 15px;
  padding: 0;
  margin: 0;
}

.check-list .icon {
  flex: 0 0 12px;
  height: 12px;
  width: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: #38b08b;
  border: var(--border-xs) solid #38b08b;
  color: #ffffff;
}

.check-list .icon i {
  color: currentColor;
  font-size: 0.5rem;
  line-height: 1;
}

.check-list .service-item {
  display: flex;
  align-items: flex-start;
  gap: var(--margin-sm);
  font-size: 15px;
}

.check-list .service-item .icon {
  flex-shrink: 0;
  margin-top: 0.35em;
  align-self: flex-start;
}

.check-list .service-item .service-content {
  display: inline;
  flex: 1;
}

.check-list .service-item .service-content span {
  display: inline;
}

.check-list .service-item .service-content .info-mark {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 0.15rem;
  margin-bottom: 0.25rem;
}

.check-list .service-item.disabled {
  color: #9aa4b2;
}

.check-list .service-item.disabled .icon {
  background: #9aa4b2;
  border: 1px solid #9aa4b2;
  color: #ffffff;
}

.divider {
  height: 1px;
  background: var(--border-light);
  margin: var(--margin-md) auto;
  width: 90%;
}

.footer {
  padding: var(--padding-md) var(--padding-card) var(--padding-xl);
  flex-shrink: 0;
}

/* Help CTA Styles */
.help-cta {
  padding: var(--padding-md);
}

.help-title {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: var(--margin-md);
}

.help-description {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: var(--margin-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* How It Works Content */
.how-it-works-content {
  text-align: left;
}

.how-it-works-content .section-heading {
  text-align: left;
  margin-bottom: var(--margin-md);
}

.how-it-works-content .section-subtitle {
  margin: 0;
}

.how-it-works-badge {
  display: inline-block;
}

.how-it-works-badge .badge-text {
  color: var(--primary-red);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

/* Lawyer Showcase */
.lawyer-showcase {
  margin-bottom: var(--margin-xl);
}

.lawyer-image-container {
  position: relative;
  display: inline-block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  max-width: 500px;
  width: 100%;
}

.lawyer-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.lawyer-image-container:hover .lawyer-image {
  transform: scale(1.05);
}

.lawyer-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: var(--padding-xl);
  color: var(--text-white);
}

.lawyer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--margin-sm);
  font-weight: 600;
  font-size: 1rem;
}

.lawyer-badge i {
  font-size: 1.1rem;
  color: var(--primary-red);
}

.step-card {
  text-align: left;
  padding: var(--padding-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--primary-red);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 var(--margin-md) 0;
  transition: all 0.3s ease;
}

.step-card:hover .step-number {
  background: var(--primary-blue);
  transform: scale(1.1);
}

.step-title {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--margin-sm);
  line-height: 1.3;
}

.step-description {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 var(--margin-sm) 0;
  flex-grow: 1;
}

.lawyer-focus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--margin-xs);
  background: var(--bg-light);
  color: var(--primary-blue);
  font-size: 0.75rem;
  font-weight: 600;
  padding: var(--padding-xs) var(--padding-sm);
  border-radius: var(--radius-full);
  border: var(--border-xs) solid var(--primary-blue);
  margin-top: var(--margin-sm);
}

.lawyer-focus i {
  font-size: 0.8rem;
  color: var(--primary-red);
}

.how-it-works-cta {
  padding: var(--padding-xxl);
  margin-top: var(--margin-xl);
}

.cta-title {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: var(--margin-sm);
}

.cta-description {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: var(--margin-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Authority Section Styles */
.authority-section {
  background: var(--bg-secondary);
}

/* Authority Content */
.authority-content {
  text-align: left;
}

.authority-content .section-heading {
  text-align: left;
  margin-bottom: var(--margin-md);
}

.authority-content .section-subtitle {
  text-align: left;
  margin: 0;
}

/* Lawyers Image */
.lawyers-image {
  text-align: center;
}

.banner-image {
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 480px;
}

/* Authority Highlights */
.authority-highlights {
  margin-bottom: var(--margin-xl);
}

.authority-highlight {
  padding: var(--padding-xl);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.authority-highlight:hover {
  transform: translateY(-2px);
}

.highlight-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-red);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 0 var(--margin-lg) 0;
  transition: all 0.3s ease;
}

.authority-highlight:hover .highlight-icon {
  background: var(--primary-blue);
  transform: scale(1.1);
}

.highlight-title {
  max-width: 320px;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0;
  line-height: 1.4;
  text-align: left;
}

/* Attorney Profiles */
.profiles-title {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: var(--margin-lg);
}

.attorney-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: var(--border-xs) solid var(--border-light);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.attorney-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}

.attorney-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.attorney-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.attorney-card:hover .attorney-image {
  transform: scale(1.05);
}

.attorney-badge {
  position: absolute;
  top: var(--margin-md);
  right: var(--margin-md);
  background: var(--primary-red);
  color: var(--text-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: var(--padding-xs) var(--padding-sm);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.attorney-info {
  padding: var(--padding-md);
  text-align: center;
}

.attorney-name {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--margin-xs);
}

.attorney-title {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: var(--margin-md);
}

.attorney-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--margin-xs);
}

.attorney-rating i {
  color: #ffc107;
  font-size: 1rem;
}

.rating-text {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: var(--margin-xs);
}

/* Authority CTA */
.authority-cta {
  margin-top: var(--margin-xl);
}

/* FAQ Section Styles */
.faq-section {
  background: var(--bg-white);
}

.faq-badge {
  display: inline-block;
}

.faq-badge .badge-text {
  color: var(--primary-red);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.accordion-item {
  border: none;
  border-bottom: var(--border-xs) solid var(--border-light);
  border-radius: 0;
  margin-bottom: 0;
  overflow: visible;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-button {
  background-color: transparent;
  border: none;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.1rem;
  padding: var(--padding-lg);
  border-radius: 0;
  box-shadow: none;
  transition: all 0.3s ease;
  position: relative;
}

.accordion-button:hover {
  background-color: rgba(25, 53, 116, 0.05);
  color: var(--primary-blue);
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--text-dark);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23193574'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  width: 1.2rem;
  height: 1.2rem;
  background-size: 1.2rem;
}

.accordion-button:hover::after {
  transform: scale(1.1);
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23193574'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg) scale(1.1);
}

.accordion-body {
  background-color: transparent;
  padding: 0 var(--padding-lg) var(--padding-lg) var(--padding-lg);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.accordion-collapse {
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loader Styles */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--padding-xl);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-light);
  border-top: 4px solid var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Blog Section Styles */
.blog-section {
  background: var(--bg-white);
}

.blog-badge {
  display: inline-block;
}

.blog-badge .badge-text {
  color: var(--primary-red);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.blog-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.blog-widget {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card-link:hover .blog-widget {
  box-shadow: var(--shadow-2xl);
  transform: translateY(-2px);
}

.blog-img {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-img img.default-image {
  object-fit: contain;
}

.blog-card-link:hover .blog-img img {
  transform: scale(1.05);
}

.blog-content {
  padding: var(--padding-lg) var(--padding-lg);
}

.category-pill {
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-size: 0.65rem;
  font-weight: 600;
  padding: var(--padding-xs) var(--padding-sm);
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: var(--margin-md);
  text-transform: uppercase;
  border: var(--border-xs) solid var(--border-light);
}

.blog-content h4 {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: var(--margin-md);
  transition: color 0.3s ease;
}

.blog-content h4:hover {
  color: var(--primary-red);
}

.blog-content h4 a {
  color: inherit;
}

.blog-content h4 a:hover {
  color: inherit;
}

.right-arrow-btn {
  color: var(--primary-red);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--margin-xs);
  transition: color 0.3s ease;
  margin-top: var(--margin-sm);
}

.right-arrow-btn:hover {
  color: var(--primary-red);
  opacity: 0.8;
}

.right-arrow-btn span {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.right-arrow-btn:hover span {
  transform: translateX(2px);
}

/* Mobile Package Styles */
@media (max-width: 768px) {
  .section-heading {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .feature-card-box {
    padding: 1.5rem;
  }
  
  .feature-card-box .price-title {
    font-size: 2rem;
  }
  
  .help-cta {
    padding: var(--padding-xl);
  }
  
  .help-title {
    font-size: 1.5rem;
  }
  
  .help-description {
    font-size: 0.9rem;
  }
  
  /* How It Works Mobile */
  .how-it-works-content .section-heading {
    text-align: center;
  }
  
  .how-it-works-content .section-subtitle {
    text-align: center;
  }
  
  .lawyer-image-container {
    max-width: 100%;
  }
  
  .lawyer-image {
    height: 250px;
  }
  
  .lawyer-badge {
    font-size: 1rem;
  }
  
  .lawyer-badge i {
    font-size: 1.1rem;
  }
  
  .step-card {
    padding: var(--padding-lg);
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .step-title {
    font-size: 1.1rem;
  }
  
  .step-description {
    font-size: 0.9rem;
  }
  
  .lawyer-focus {
    font-size: 0.75rem;
    padding: var(--padding-xs) var(--padding-sm);
  }
  
  .how-it-works-cta {
    padding: var(--padding-xl);
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
  
  .cta-description {
    font-size: 1rem;
  }
  
  /* Authority Mobile */
  .authority-content {
    text-align: center;
    margin-bottom: var(--margin-lg);
  }
  
  .authority-content .section-heading {
    text-align: center;
  }
  
  .authority-content .section-subtitle {
    text-align: center;
  }
  
  .banner-image {
    height: 250px;
    width: auto;
    max-width: 100%;
  }
  
  .authority-highlight {
    padding: var(--padding-lg);
  }
  
  .highlight-icon {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
    margin: 0 0 var(--margin-md) 0;
  }
  
  .highlight-title {
    font-size: 1.1rem;
  }
  
  .profiles-title {
    font-size: 1.5rem;
  }
  
  .attorney-image-container {
    height: 200px;
  }
  
  .attorney-name {
    font-size: 1.1rem;
  }
  
  .attorney-title {
    font-size: 0.85rem;
  }
  
  .authority-cta {
    padding: var(--padding-xl);
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
  
  .cta-description {
    font-size: 1rem;
  }
}

.hero-section {
  background: var(--bg-gradient-light);
  padding: var(--section-padding);
  margin-bottom: 3rem;
}

.hero-section h1 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-section h2 {
  color: var(--text-light);
  font-weight: 400;
}

.content-section {
  padding: 2rem 0;
}

.features-section {
  background: var(--bg-light);
  padding: 3rem 0;
}


.cta-section {
  text-align: center;
  padding: 3rem 0;
  background: var(--bg-gradient-blue);
  color: var(--text-white);
  margin-top: 2rem;
}

.cta-section .btn {
  background: var(--bg-white);
  color: var(--primary-blue);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Mobile Sales Page Styles */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section h2 {
    font-size: 1.1rem;
  }
  
  .features-section {
    padding: 2rem 0;
  }
  
  .cta-section {
    padding: 2rem 0;
  }
}



/* ==========================================================================
   CTA COMPONENT STYLES
   ========================================================================== */

/* CTA Size Variants */

.cta-large {
  height: 50px;
  font-size: 18px;
  padding: 0 2rem;
}

/* CTA Variant Styles */
.btn-secondary {
  background-color: var(--primary-blue);
  color: var(--text-white);
}

.btn-secondary:hover {
  background-color: var(--primary-blue-dark);
  color: var(--text-white);
}

.btn-hero {
  background-color: var(--primary-red);
  color: var(--text-white);
  font-weight: 600;
}

.btn-hero:hover {
  background-color: var(--primary-blue-dark);
  color: var(--text-white);
}

.btn-help {
  background-color: var(--primary-red);
  color: var(--text-white);
}

.btn-help:hover {
  background-color: var(--primary-blue-dark);
  color: var(--text-white);
}

.btn-section {
  background-color: var(--primary-red);
  color: var(--text-white);
}

.btn-section:hover {
  background-color: var(--primary-blue-dark);
  color: var(--text-white);
}

/* ==========================================================================
   SEARCH MODAL STYLES
   ========================================================================== */

/* Full Screen Modal Styles */
.modal-fullscreen {
  z-index: 9999990;
}

.modal-fullscreen .modal-content {
  height: 100vh;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #193574 0%, #2a4a8a 100%);
  color: white;
}

.modal-fullscreen .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
}

.modal-fullscreen .modal-body {
  padding: 3rem 2rem;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.modal-fullscreen .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  font-size: 1.5rem;
  opacity: 0.8;
}

.modal-fullscreen .btn-close:hover {
  opacity: 1;
}

.modal-fullscreen .modal-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.modal-fullscreen .modal-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.modal-fullscreen .theme-btn {
  background: white;
  color: #193574;
  border: 2px solid white;
  padding: 1rem 2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-block;
  margin: 0.5rem;
  line-height: 0.5em;
}

.modal-fullscreen .theme-btn:hover {
  background: transparent;
  color: white;
  border-color: white;
}

.modal-fullscreen .theme-btn.btn-outline {
  background: transparent;
  color: white;
  border-color: white;
}

.modal-fullscreen .theme-btn.btn-outline:hover {
  background: white;
  color: #193574;
}

/* Modal Search Styles */
.modal-search-container {
  max-width: 600px;
  margin: 0 auto 3rem auto;
  position: relative;
}

.modal-search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 1.5rem;
  font-size: 1.2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.modal-search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.modal-search-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.modal-search-icon {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
}

.modal-search-results {
  margin-top: 2rem;
  max-height: 400px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow-x: hidden;
}

.modal-search-results::-webkit-scrollbar {
  width: 8px;
}

.modal-search-results::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.modal-search-results::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.modal-search-results::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.modal-search-category {
  padding: 1rem 1.5rem 0.5rem;
  font-size: 0.9rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.5rem;
}

.modal-search-item {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
  color: white;
  text-decoration: none;
}

.modal-search-item:last-child {
  border-bottom: none;
}

.modal-search-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  transform: translateX(5px);
}

.modal-search-item-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.modal-search-item-category {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.modal-search-loading {
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.modal-search-no-results {
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.modal-search-spinner {
  animation: spin 1s linear infinite;
}

/* Search Button Styles */
.search-btn {
  min-width: 45px;
  padding: 0 var(--padding-md);
  background-color: var(--primary-blue) !important;
  color: var(--text-white) !important;
  border: none;
  height: 45px; /* Match theme-btn height */
  width: 45px;
}

.search-btn:hover {
  background-color: var(--primary-blue-dark) !important;
  color: var(--text-white) !important;
}

.search-btn i {
  font-size: 16px;
  line-height: 1;
  color: var(--text-white) !important;
}

/* Make search button smaller on small screens */
@media (max-width: 576px) {
  .d-flex.d-xl-none .search-btn {
    height: 40px !important;
    width: 40px !important;
    min-width: 40px !important;
  }
  
  .d-flex.d-xl-none .search-btn i {
    font-size: 12px !important;
  }
  
  .navbar-toggler {
    height: 40px !important;
    width: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Mobile Search Modal Styles */
@media (max-width: 768px) {
  .modal-fullscreen .modal-header,
  .modal-fullscreen .modal-body {
    padding: 1.5rem;
  }

  .modal-fullscreen .modal-title {
    font-size: 2rem;
  }

  .modal-fullscreen .modal-description {
    font-size: 1rem;
  }

  .modal-search-input {
    font-size: 1rem;
    padding: 0.875rem 2.5rem 0.875rem 1.25rem;
  }

  .modal-search-results {
    max-height: 300px;
  }
}

/* ==========================================================================
   FEATURES SECTION STYLES
   ========================================================================== */

.features-section {
  padding: var(--section-padding);
  position: relative;
  z-index: 2;
}

.features-badge {
  display: inline-block;
}

.features-badge .badge-text {
  color: var(--primary-red);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

/* Feature Card Styles */
.feature-card {
  background: transparent;
  border: none;
  box-shadow: none;
  height: 100%;
  padding: var(--padding-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Feature Icon */
.feature-icon {
  width: 100%;
  max-width: 240px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--margin-lg);
  flex-shrink: 0;
}

.feature-icon .icon-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Feature Title */
.feature-title {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--margin-md);
  line-height: 1.3;
}

/* Feature Description */
.feature-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* Features CTA */
.features-cta {
  margin-top: var(--margin-xl);
}

/* Equal Height Cards */
.features-section .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

/* Ensure columns also stretch to equal height */
.features-section .col-xl-4,
.features-section .col-xl-3,
.features-section .col-xl-2,
.features-section .col-lg-6,
.features-section .col-md-6,
.features-section .col-md-4,
.features-section .col-sm-6 {
  display: flex;
  flex-direction: column;
}

.features-cta .cta-title {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: var(--margin-sm);
}

.features-cta .cta-description {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: var(--margin-lg);
}

.features-cta .theme-btn {
  font-size: 1rem;
  height: 45px;
  padding: 0 var(--padding-xl);
}

/* Mobile Features Styles */
@media (max-width: 768px) {
  .features-section {
    padding: 2rem 0;
  }
  
  .features-section .section-heading {
    font-size: 1.8rem;
  }
  
  .features-section .section-subtitle {
    font-size: 1rem;
  }
  
  .feature-card {
    padding: var(--padding-md);
  }
  
  .feature-icon {
    margin-bottom: var(--margin-md);
  }
  
  .feature-title {
    font-size: 1rem;
    margin-bottom: var(--margin-sm);
  }
  
  .feature-description {
    font-size: 0.9rem;
  }
  
  .features-cta .cta-title {
    font-size: 1.3rem;
  }
  
  .features-cta .cta-description {
    font-size: 0.95rem;
  }
  
  .features-cta .theme-btn {
    font-size: 0.9rem;
    height: 42px;
  }
}

/* Tablet Features Styles */
@media (min-width: 769px) and (max-width: 991px) {
  .features-section .section-heading {
    font-size: 2rem;
  }
  
  .feature-card {
    padding: var(--padding-md);
  }
  
  .feature-title {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   SERVICES SECTION STYLES
   ========================================================================== */

.services-section {
  padding: var(--section-padding);
  position: relative;
  z-index: 2;
}

.services-section .section-header {
  margin-bottom: 2rem;
}

.services-section .section-heading {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 2.2rem;
}

.services-section .section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0;
}

/* Service Card Styles */
.service-card {
  height: 100%;
}

.service-card .card {
  border: var(--border-xs) solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  height: 100%;
  background: var(--bg-white);
}

.service-card .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-blue);
}

.service-card .card-body {
  padding: var(--padding-xl);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Service Icon and Title Row */
.service-header {
  display: flex;
  align-items: center;
  gap: var(--margin-md);
}

.service-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.service-title {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 20px;
  margin: 0;
  line-height: 1.3;
  flex: 1;
}

.service-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-title-link:hover {
  color: var(--primary-blue);
  text-decoration: none;
}

/* Tab Icons - Responsive sizing */
.tab-icon {
  object-fit: contain;
  vertical-align: middle;
  transition: none;
  transform: none;
  /* Default desktop size */
  width: 48px;
}


/* Service Description */
.service-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* Service CTA */
.service-cta {
  margin-top: auto;
}

.service-cta .theme-btn {
  width: 100%;
  max-width: 100%;
  justify-content: center;
  font-size: 0.9rem;
  height: 40px;
  padding: 0 var(--padding-lg);
}

/* Service Price */
.service-price {
  color: rgba(38, 76, 139, 0.5);
  font-size: 12px;
  font-weight: 500;
}

/* Section CTA */
.section-cta {
  margin-top: var(--margin-xl);
}

.section-cta .cta-title {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: var(--margin-sm);
}

.section-cta .cta-description {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: var(--margin-lg);
}

.section-cta .theme-btn {
  font-size: 1rem;
  height: 45px;
  padding: 0 var(--padding-xl);
}

/* Mobile Services Styles */
@media (max-width: 768px) {
  .services-section {
    padding: 2rem 0;
  }
  
  .services-section .section-heading {
    font-size: 1.8rem;
  }
  
  .services-section .section-subtitle {
    font-size: 1rem;
  }
  
  .service-card .card-body {
    padding: var(--padding-lg);
  }
  
  .service-header {
    gap: var(--margin-sm);
    margin-bottom: var(--margin-sm);
  }
  
  .service-icon {
    width: 40px;
    height: 40px;
  }
  
  .service-icon img {
    width: 40px;
    height: 40px;
  }
  
  .service-title {
    font-size: 18px;
  }
  
  .service-description {
    font-size: 0.9rem;
    margin-bottom: var(--margin-md);
  }
  
  .service-cta .theme-btn {
    font-size: 0.85rem;
    height: 38px;
  }
  
  .section-cta .cta-title {
    font-size: 1.3rem;
  }
  
  .section-cta .cta-description {
    font-size: 0.95rem;
  }
}

/* Tablet Services Styles */
@media (min-width: 769px) and (max-width: 991px) {
  .services-section .section-heading {
    font-size: 2rem;
  }
  
  .service-card .card-body {
    padding: var(--padding-lg);
  }
  
  .service-header {
    gap: var(--margin-sm);
    margin-bottom: var(--margin-sm);
  }
  
  .service-icon {
    width: 44px;
    height: 44px;
  }
  
  .service-icon img {
    width: 44px;
    height: 44px;
  }
  
  .service-title {
    font-size: 19px;
  }
}

/* ==========================================================================
   TABS STYLES
   ========================================================================== */

/* Service Tabs Container */
.service-tabs {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-tabs .nav-tabs {
  border: none;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--padding-xs);
  box-shadow: var(--shadow-lg);
  display: inline-flex;
  width: auto;
  margin: 0 auto;
  border: var(--border-xs) solid var(--border-light);
}

.service-tabs .nav-item {
  margin: 0;
}

.service-tabs .nav-link {
  border: none;
  background: transparent;
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  padding: var(--padding-md) var(--padding-xl);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  min-width: 140px;
  text-align: center;
  border: var(--border-xs) solid transparent;
}

.service-tabs .nav-link:hover {
  color: var(--primary-blue);
  background: var(--bg-light);
  border-color: var(--border-light);
}

.service-tabs .nav-link.active {
  color: var(--primary-blue);
  background: var(--bg-white);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.service-tabs .nav-link.active:hover {
  color: var(--primary-blue);
  background: var(--bg-white);
}

/* Tab Content Animation */
.service-tabs .tab-content {
  position: relative;
  width: 100%;
}

.service-tabs .tab-pane {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-tabs .tab-pane.show.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Tab Styles */
@media (max-width: 768px) {
  .service-tabs .nav-tabs {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .service-tabs .nav-link {
    min-width: auto;
    width: 100%;
    margin-bottom: var(--margin-xs);
  }
  
  .service-tabs .nav-link:last-child {
    margin-bottom: 0;
  }
}

/* Tablet Tab Styles */
@media (min-width: 769px) and (max-width: 991px) {
  .service-tabs .nav-link {
    padding: var(--padding-sm) var(--padding-lg);
    font-size: 0.95rem;
    min-width: 100px;
  }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-primary {
  color: var(--primary-blue) !important;
}

.bg-primary {
  background-color: var(--primary-blue) !important;
}

.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-primary:hover {
  background-color: var(--primary-blue-dark);
  border-color: var(--primary-blue-dark);
}

.border-radius-md {
  border-radius: var(--radius-md);
}

/* ==========================================================================
   CHECKLIST SECTION STYLES
   ========================================================================== */

.checklist-section {
  position: relative;
}

.checklist-badge {
  display: inline-block;
}

.checklist-badge .badge-text {
  color: var(--primary-red);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.reddi-corps-badge {
  display: inline-block;
}

.reddi-corps-badge .badge-text {
  color: var(--primary-red);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  display: inline-block;
}

.checklist-list {
  margin: 0;
  padding: 0;
}

.checklist-item {
  display: flex;
  align-items: center;
  padding: 0.2rem 0;
}

.checklist-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-right: 0.5rem;
  flex-shrink: 0;
  background-color: var(--primary-blue);
  color: white;
}

.checklist-icon i {
  font-size: 8px;
  font-weight: bold;
}

.checklist-text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.checklist-image img {
  border-radius: 8px;
}

.checklist-section .section-subtitle {
  margin: 0;
}

/* Mobile Checklist Styles */
@media (max-width: 991.98px) {
  .checklist-item {
    margin-bottom: 0.75rem;
  }
  
  .checklist-icon {
    width: 12px;
    height: 12px;
    margin-right: 0.5rem;
    margin-top: 1px;
  }
  
  .checklist-icon i {
    font-size: 6px;
  }
  
  .checklist-text {
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   TESTIMONIALS SECTION STYLES
   ========================================================================== */

.testimonials-section {
  background: #193574;
  background-image: url(../img/about/about-service-bg.png);
  background-position: right bottom;
  background-size: contain;
  background-repeat: no-repeat;
  padding: 133px 0;
  position: relative;
}

.testimonials-badge {
  display: inline-block;
}

.testimonials-badge .badge-text {
  color: var(--primary-red);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.testimonials-section .section-heading {
  color: white;
  text-align: left;
}

.testimonials-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  text-align: left;
}

.testimonials-section .section-title {
  text-align: left;
}

.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-description {
  flex: 1;
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.testimonial-description p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0;
  font-style: italic;
  text-align: left;
}

.testimonial-author {
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
  text-align: left;
  margin-top: auto;
}

.author-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
}

.testimonial-stars .fas.fa-star {
  font-size: 0.9rem;
}

.testimonial-stars .star-filled {
  color: var(--primary-red);
}

.testimonial-stars .star-empty {
  color: #e9ecef;
}

.author-subject {
  color: var(--text-light);
  font-size: 0.9rem;
}

.testimonials-cta {
  margin-top: 3rem;
}

/* Mobile Testimonials Styles */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 80px 0;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonials-section .section-heading {
    font-size: 1.8rem;
  }
  
  .testimonials-section .section-subtitle {
    font-size: 1rem;
  }
}

/* ===== CAROUSEL ===== */

.snap-carousel { 
  position: relative; 
}

/* Left – Track – Right layout (no overlay) */
.snap-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.snap-prev, .snap-next {
  width: 48px; 
  height: 48px;
  border-radius: 999px; 
  border: 1px solid #e5e7eb;
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  background: #ffffff; 
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  cursor: pointer;
}

.snap-prev:hover, .snap-next:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.12); 
  border-color: #0e6fff; 
  color: #0e6fff;
}

.snap-prev:active, .snap-next:active { 
  box-shadow: 0 1px 4px rgba(0,0,0,.16); 
  transform: none; 
}

.snap-prev:disabled, .snap-next:disabled { 
  opacity: .4; 
  cursor: not-allowed; 
}

/* Track - Override any global styles */
.snap-carousel .snap-track {
  display: flex !important; 
  gap: 24px !important;
  overflow-x: auto !important; 
  scroll-snap-type: x mandatory !important; 
  scroll-behavior: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding-bottom: .75rem !important; /* dots are outside */
  scrollbar-width: none !important; 
  -ms-overflow-style: none !important;
  position: relative !important;
  cursor: grab;
}

/* Slides: 1 / 2 / 3 across - Override any global styles */
.snap-carousel .snap-slide { 
  scroll-snap-align: start !important; 
  scroll-snap-stop: always !important; 
  flex: 0 0 100% !important;
  position: relative !important;
}

@media (min-width: 768px) { 
  .snap-carousel .snap-slide { 
    flex-basis: calc(50% - 12px) !important; 
  } 
}

@media (min-width: 1200px) { 
  .snap-carousel .snap-slide { 
    flex-basis: calc(33.333% - 16px) !important; 
  } 
}

/* Card - Override main.css conflicts */
.snap-carousel .testimonial-card {
  display: flex !important; 
  flex-direction: column !important; 
  height: 100% !important;
  border: 1px solid #eee !important; 
  border-radius: 14px !important; 
  padding: 1.25rem !important; 
  background: #fff !important;
  box-shadow: none !important;
  transition: none !important;
}

.snap-carousel .testimonial-card:hover {
  transform: none !important;
}

.snap-carousel .testimonial-stars .fa-star { 
  font-size: .95rem; 
}

.snap-carousel .star-filled { 
  color: var(--primary-red); 
} 

.snap-carousel .star-empty { 
  color: #9ca3af; 
}

/* Skeleton logic */
.snap-track.is-loading .real-card { 
  display: none; 
}

.snap-track:not(.is-loading) .skeleton-card { 
  display: none; 
}

.poster { 
  display: none; 
  height: 0; 
} /* optional spacer */

@media (min-width: 768px) { 
  .poster { 
    display: block; 
    height: 8px; 
  } 
}

.skeleton { 
  position: relative; 
  overflow: hidden; 
  border-radius: 8px; 
  background: #f3f4f6; 
}

.skeleton::after { 
  content: ""; 
  position: absolute; 
  inset: 0;
  background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
  transform: translateX(-100%); 
  animation: shimmer 1.2s infinite; 
}

@keyframes shimmer { 
  100% { 
    transform: translateX(100%); 
  }
}


.skeleton-poster { 
  height: 120px; 
  border-radius: 12px; 
}

.skeleton-text { 
  height: 16px; 
}

.skeleton-text.w-75 { 
  width: 75%; 
} 

.skeleton-text.w-25 { 
  width: 25%; 
}

.skeleton-chip { 
  height: 18px; 
  border-radius: 999px; 
  width: 50%; 
}

.skeleton-stars { 
  width: 86px; 
  height: 14px; 
  border-radius: 6px; 
}

/* Dots at the bottom */
.snap-dots { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  gap: 8px; 
  margin-top: .5rem; 
}

.snap-dot { 
  width: 10px; 
  height: 10px; 
  border-radius: 50%; 
  background: #fff; 
  border: 0; 
}

.snap-dot.is-active { 
  background: #0e6fff; 
}

/* Mobile tweaks */
@media (max-width: 767px) {
  .snap-prev, .snap-next { 
    width: 44px; 
    height: 44px; 
  }
  
  .snap-dots { 
    gap: 6px; 
  }
  
  .snap-dot { 
    width: 8px; 
    height: 8px; 
  }
}

/* Mobile grid layout: buttons on second row */
@media (max-width: 767px) {
  .snap-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 8px;
  }
  
  .snap-shell .snap-track { 
    grid-column: 1 / span 3; 
    grid-row: 1; 
  }
  
  .snap-shell .snap-prev { 
    grid-column: 1; 
    grid-row: 2; 
    justify-self: start; 
  }
  
  .snap-shell .snap-next { 
    grid-column: 3; 
    grid-row: 2; 
    justify-self: end; 
  }
  
  .snap-dots { 
    margin-top: .25rem; 
  }
}

/* Helps snap deterministically */
.snap-slide { 
  scroll-snap-stop: always; 
}

/* ===== STATE SELECTOR ===== */
.state-selector-section {
  padding: 80px 0;
}

/* Custom Search Select Styles */
.state-selector-form .search-container { 
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.state-selector-form .search-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.state-selector-form .search-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.state-selector-form .search-input::placeholder {
  color: #999;
  font-weight: 400;
}

.state-selector-form .search-dropdown {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  background: white !important;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 1002 !important;
  display: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  margin-top: 8px;
}

.state-selector-form .search-dropdown.show {
  display: block !important;
}

.state-selector-form .search-option {
  padding: 16px 20px;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  color: #1f2937;
}

.state-selector-form .search-option:hover {
  background-color: #f8fafc;
  color: #1f2937;
}

.state-selector-form .search-option.selected {
  background-color: #264C8B;
  color: white;
}

.state-selector-form .search-option:last-child {
  border-bottom: none;
}

.state-selector-form .search-option.no-results {
  color: #6b7280;
  font-style: italic;
  cursor: default;
  justify-content: center;
  background-color: white;
}

.state-selector-form .search-option.no-results:hover {
  background-color: white;
  color: #6b7280;
}

.state-selector-form .search-option .state-name {
  font-weight: 500;
  color: inherit;
}

.state-selector-form .search-option .state-description {
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  margin-left: 12px;
}

.state-selector-form .search-option.selected .state-name {
  color: white;
}

.state-selector-form .search-option.selected .state-description {
  color: rgba(255, 255, 255, 0.8);
}

.state-selector-form .search-option:hover .state-name {
  color: #1f2937;
}

.state-selector-form .search-option:hover .state-description {
  color: #4b5563;
}

/* Light theme adjustments for non-dark backgrounds */
.state-selector-section:not(.has-bg-image) .search-input {
  background-color: white;
  color: #333;
  border-color: #d1d5db;
}

.state-selector-section:not(.has-bg-image) .search-input:focus {
  border-color: #264C8B;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(38, 76, 139, 0.1);
}

.state-selector-section:not(.has-bg-image) .search-input::placeholder {
  color: #999;
}

/* Enhanced dark background support */
.state-selector-section.has-bg-image .search-input {
  border-color: rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 1);
  backdrop-filter: blur(15px);
}


.state-selector-section.has-bg-image .search-input::placeholder {
  color: #999;
}

.state-selector-badge {
  display: inline-block;
}

.state-selector-badge .badge-text {
  color: var(--primary-red);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.state-selector-section .section-heading {
  color: var(--text-dark);
  text-align: left;
  margin-bottom: 1rem;
}

.state-selector-section .section-subtitle {
  color: var(--text-muted);
  margin: 0;
  text-align: left;
}

.state-selector-section .state-selector-form {
  max-width: 500px;
}

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

.state-selector-section .form-label {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  text-align: left;
}

.state-selector-section .select-wrapper {
  position: relative;
}

.state-selector-section .form-select {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  font-size: 1rem;
  border-radius: 12px;
  background: white;
  color: var(--text-dark);
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.state-selector-section .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 111, 255, 0.1);
}

.state-selector-section .form-select:hover {
  border-color: #d1d5db;
}

.state-selector-section .select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6b7280;
  transition: color 0.3s ease;
}

.state-selector-section .form-select:focus + .select-arrow {
  color: var(--primary);
}

.state-selector-section .state-info-preview {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  transition: all 0.3s ease;
}

.state-selector-section .preview-content {
  text-align: center;
}

.state-selector-section .preview-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
}

.state-selector-section .preview-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.state-selector-section .form-actions {
  text-align: center;
  margin-top: 2rem;
}

.state-selector-section .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  min-width: 160px;
}

.state-selector-section .btn-primary {
  background: var(--primary);
  color: white;
}

.state-selector-section .btn-primary:hover:not(:disabled) {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 111, 255, 0.3);
}

.state-selector-section .btn-primary:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.state-selector-section .state-selector-cta {
  margin-top: 2rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .state-selector-section {
    padding: 60px 0;
  }
  
  .state-selector-section .form-label {
    font-size: 1rem;
  }
  
  .state-selector-section .form-select {
    padding: 0.875rem 2.5rem 0.875rem 0.875rem;
    font-size: 0.9rem;
  }
  
  .state-selector-section .select-arrow {
    right: 0.875rem;
  }
  
  .state-selector-section .state-info-preview {
    padding: 1rem;
  }
  
  .state-selector-section .preview-title {
    font-size: 1.125rem;
  }
  
  .state-selector-section .preview-description {
    font-size: 0.9rem;
  }
  
  .state-selector-section .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    min-width: 140px;
  }
}

/* ==========================================================================
   AMERILAWYER CARD COMPONENT STYLES
   ========================================================================== */

/* Amerilawyer Card Styles */
.amerilawyer-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--padding-xl);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border: var(--border-xs) solid var(--border-light);
  border-left: 4px solid var(--primary-blue);
  position: relative;
  overflow: hidden;
}

.amerilawyer-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

/* Amerilawyer Card Watermark */
.amerilawyer-card-watermark {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 160px;
  height: 160px;
  opacity: 0.09;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.amerilawyer-watermark-logo {
  width: 100%;
  height: 100%;
}

/* Amerilawyer Card Content */
.amerilawyer-card-content {
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Amerilawyer Card Title */
.amerilawyer-card-title {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--margin-md);
  line-height: 1.3;
}

/* Amerilawyer Card Description */
.amerilawyer-card-description {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  height: 90px;
  overflow: hidden;
}

/* Mobile Amerilawyer Card Styles */
@media (max-width: 768px) {
  .amerilawyer-card {
    padding: var(--padding-lg);
    border-left-width: 3px;
  }
  
  .amerilawyer-card-title {
    font-size: 1.1rem;
    margin-bottom: var(--margin-sm);
  }
  
  .amerilawyer-card-description {
    font-size: 0.9rem;
    height: auto; /* Allow natural height on mobile */
    overflow: visible; /* Show full content on mobile */
    display: block; /* Remove line-clamp on mobile */
    -webkit-line-clamp: unset;
    line-clamp: unset;
    -webkit-box-orient: unset;
  }
  
  .amerilawyer-card-watermark {
    width: 120px;
    height: 120px;
  }
}

/* Tablet Amerilawyer Card Styles */
@media (min-width: 769px) and (max-width: 991px) {
  .amerilawyer-card {
    padding: var(--padding-lg);
  }
  
  .amerilawyer-card-title {
    font-size: 1.2rem;
  }
  
  .amerilawyer-card-description {
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }
  
  .amerilawyer-card-watermark {
    width: 70px;
    height: 70px;
  }
}

/* ==========================================================================
   ADVANTAGE BOX COMPONENT STYLES
   ========================================================================== */

/* Advantage Box Styles */
.advantage-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--padding-xl);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border: var(--border-xs) solid var(--border-light);
}

.advantage-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

/* Advantage Title */
.advantage-title {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--margin-md);
  line-height: 1.3;
}

/* Advantage Description */
.advantage-description {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* Mobile Advantage Box Styles */
@media (max-width: 768px) {
  .advantage-box {
    padding: var(--padding-lg);
  }
  
  .advantage-title {
    font-size: 1.1rem;
    margin-bottom: var(--margin-sm);
  }
  
  .advantage-description {
    font-size: 0.9rem;
  }
}

/* Tablet Advantage Box Styles */
@media (min-width: 769px) and (max-width: 991px) {
  .advantage-box {
    padding: var(--padding-lg);
  }
  
  .advantage-title {
    font-size: 1.2rem;
  }
}

/* ==========================================================================
   FRAMEWORKS SECTION STYLES - SIMPLIFIED BOOTSTRAP
   ========================================================================== */

/* Frameworks Badge */
.frameworks-badge {
  display: inline-block;
}

.frameworks-badge .badge-text {
  color: var(--primary-red);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

/* Simple hover effects for framework pills */
.frameworks-section .bg-light:hover {
  background-color: var(--primary-blue) !important;
  color: white;
}

.frameworks-section .bg-light:hover h6 {
  color: white !important;
}

.frameworks-section .bg-light:hover small {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Frameworks CTA Mobile Override */
@media (max-width: 768px) {
  .frameworks-section .theme-btn {
    width: auto !important;
    min-width: auto;
  }
}

/* ==========================================================================
   ENTITY EXPLAINER SECTION - SIMPLIFIED BOOTSTRAP
   ========================================================================== */

/* Basic section styling */
.entity-explainer-section {
  background: var(--bg-white);
  padding: 4rem 0;
}

/* Tab navigation - using service tabs styling */
#explainerTabs {
  border: none;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--padding-xs);
  box-shadow: var(--shadow-lg);
  display: inline-flex;
  width: auto;
  margin: 0 auto;
  border: var(--border-xs) solid var(--border-light);
}

#explainerTabs .nav-item {
  margin: 0;
}

#explainerTabs .nav-link {
  border: none;
  background: transparent;
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  padding: var(--padding-md) var(--padding-xl);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
  min-width: 140px;
  text-align: center;
  border: var(--border-xs) solid transparent;
}

#explainerTabs .nav-link:hover {
  color: var(--primary-blue);
  background: var(--bg-light);
  border-color: var(--border-light);
}

#explainerTabs .nav-link.active {
  color: var(--primary-blue);
  background: var(--bg-white);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

#explainerTabs .nav-link.active:hover {
  color: var(--primary-blue);
  background: var(--bg-white);
}

/* Tab icons */
.tab-icon {
  width: 48px;
  object-fit: contain;
}

/* Entity card styling */
.entity-type-card {
  background: var(--bg-white);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.3s ease;
}

.entity-type-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Entity content styling */
.entity-name {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.entity-description {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.entity-features-title {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.entity-features-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.entity-feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.entity-feature-icon {
  color: #38b08b;
  font-size: 0.875rem;
  margin-right: 0.5rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.entity-feature-text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Entity types styling */
.entity-types-title {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.entity-type-link {
  display: block;
  text-decoration: none;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  padding: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 0.75rem;
}

.entity-type-link:hover {
  background: var(--bg-white);
  border-color: var(--primary-blue);
  box-shadow: 0 2px 10px rgba(25, 53, 116, 0.1);
  transform: translateY(-1px);
  text-decoration: none;
}

.entity-type-name {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
}

.entity-type-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.entity-action-text {
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
}

.entity-action-icon {
  color: var(--primary-blue);
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.entity-type-link:hover .entity-action-icon {
  transform: translateX(2px);
}

/* Mobile responsive adjustments */
@media (max-width: 576px) {
  .entity-explainer-section {
    padding: 2rem 0;
  }
  
  .entity-name {
    font-size: 1.5rem;
  }
  
  .entity-description {
    font-size: 0.9rem;
  }
  
  /* Mobile tab styles - matching service tabs */
  #explainerTabs {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  #explainerTabs .nav-link {
    min-width: auto;
    width: 100%;
    margin-bottom: var(--margin-xs);
  }
  
  #explainerTabs .nav-link:last-child {
    margin-bottom: 0;
  }
}

/* ==========================================================================
   REDDI CORPS TABLE
   ========================================================================== */

/* Filters styling */
.reddi-corps-filters {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: var(--bg-white, #fff);
  border-radius: var(--radius-md, 8px);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm, 0 2px 4px rgba(15, 23, 42, 0.04));
  transition: box-shadow 0.2s ease;
  overflow: visible;
  position: relative;
}

.reddi-corps-filters:hover {
  box-shadow: var(--shadow-md, 0 4px 8px rgba(15, 23, 42, 0.08));
}

.reddi-corps-filter-item {
  flex: 1;
  min-width: 280px;
  position: relative;
  overflow: visible;
}

.reddi-corps-filter-item .form-label {
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-dark, #333);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reddi-corps-filter-item .dropdown {
  position: relative;
  z-index: 1000;
}

.reddi-corps-filter-item .btn {
  width: 100%;
  min-width: 260px;
  background: var(--bg-white, #fff);
  border: 1px solid var(--border-light, #e9ecef);
  color: var(--text-dark, #333);
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  border-radius: var(--radius-md, 8px);
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reddi-corps-filter-item .btn:focus,
.reddi-corps-filter-item .btn:active,
.reddi-corps-filter-item .btn.show {
  background: var(--bg-white, #fff);
  border-color: var(--primary-blue, #193574);
  color: var(--text-dark, #333);
  box-shadow: 0 0 0 0.2rem rgba(25, 53, 116, 0.1);
}

.reddi-corps-filter-item .btn:hover {
  background: var(--bg-secondary, #f8f9fa);
  border-color: var(--primary-blue, #193574);
  color: var(--primary-blue, #193574);
}

.reddi-corps-filter-item .btn::after {
  margin-left: auto;
  transition: transform 0.2s ease;
}

.reddi-corps-filter-item .btn[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.reddi-corps-filter-item .dropdown-menu {
  min-width: 100%;
  width: 100%;
  border-radius: var(--radius-md, 8px);
  border: 1px solid var(--border-light, #e9ecef);
  box-shadow: var(--shadow-md, 0 4px 8px rgba(15, 23, 42, 0.08));
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  z-index: 1050;
  position: absolute;
  left: 0 !important;
  right: auto !important;
  transform: none !important;
  inset: auto 0 auto 0 !important;
}

.reddi-corps-filter-item .dropdown-item {
  border-radius: 4px;
  padding: 0.625rem 0.875rem;
  transition: background-color 0.15s ease;
  white-space: nowrap;
  overflow: visible;
  margin: 0.125rem 0;
}

.reddi-corps-filter-item .dropdown-item .form-check {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  white-space: normal;
  width: 100%;
}

.reddi-corps-filter-item .dropdown-item .form-check-input {
  margin-top: 0;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.reddi-corps-filter-item .dropdown-item .form-check-input:checked {
  background-color: var(--primary-blue, #193574);
  border-color: var(--primary-blue, #193574);
}

.reddi-corps-filter-item .dropdown-item .form-check-input:focus {
  border-color: var(--primary-blue, #193574);
  box-shadow: 0 0 0 0.2rem rgba(25, 53, 116, 0.25);
}

.reddi-corps-filter-item .dropdown-item .form-check-label {
  flex: 1;
  padding-left: 0;
  margin: 0;
}

.reddi-corps-filter-item .dropdown-item:hover {
  background-color: var(--bg-secondary, #f8f9fa);
}

.reddi-corps-filter-item .form-check {
  margin: 0;
  padding: 0;
}

.reddi-corps-filter-item .form-check-input {
  margin-top: 0.25rem;
  cursor: pointer;
}

.reddi-corps-filter-item .form-check-input:checked {
  background-color: var(--primary-blue, #193574);
  border-color: var(--primary-blue, #193574);
}

.reddi-corps-filter-item .form-check-input:focus {
  border-color: var(--primary-blue, #193574);
  box-shadow: 0 0 0 0.2rem rgba(25, 53, 116, 0.25);
}

.reddi-corps-filter-item .form-check-label {
  cursor: pointer;
  padding-left: 0.5rem;
  user-select: none;
}

/* Table container styling */
#tableContentContainer {
  background: var(--bg-white, #fff);
  border-radius: var(--radius-md, 8px);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.1));
  padding: 0 0 1rem 0;
  overflow: hidden;
}

#reddiCorpsTable {
  margin-bottom: 0;
}

#reddiCorpsTable thead th {
  background-color: var(--primary-blue, #193574);
  border-bottom: 2px solid var(--primary-blue-dark, #264c8b);
  padding: 1rem;
  font-weight: 600;
  color: var(--text-white, #fff);
}

#reddiCorpsTable thead th:first-child {
  border-top-left-radius: var(--radius-md, 8px);
}

#reddiCorpsTable thead th:last-child {
  border-top-right-radius: var(--radius-md, 8px);
}

#reddiCorpsTable tbody td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-light, #dee2e6);
}

#reddiCorpsTable tbody tr:last-child td {
  border-bottom: none;
}

#reddiCorpsTable tbody tr:hover {
  background-color: var(--bg-secondary, #f8f9fa);
}

/* Watermark styles for table rows - State column only */
#reddiCorpsTable tbody tr[data-state-name] td:nth-child(2) {
  position: relative !important;
  overflow: hidden;
}

#reddiCorpsTable tbody tr[data-state-name] td:nth-child(2)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  max-width: 80px;
  max-height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.30;
  pointer-events: none;
  z-index: 0;
}

#reddiCorpsTable tbody tr[data-state-name="Florida"] td:nth-child(2)::after {
  background-image: url('/build/v2/img/shelf-companies/Florida.png');
}

#reddiCorpsTable tbody tr[data-state-name="California"] td:nth-child(2)::after {
  background-image: url('/build/v2/img/shelf-companies/California.png');
}

#reddiCorpsTable tbody tr[data-state-name="Delaware"] td:nth-child(2)::after {
  background-image: url('/build/v2/img/shelf-companies/Delaware.png');
}

#reddiCorpsTable tbody tr[data-state-name="Illinois"] td:nth-child(2)::after {
  background-image: url('/build/v2/img/shelf-companies/Illinois.png');
}

#reddiCorpsTable tbody tr[data-state-name="New Jersey"] td:nth-child(2)::after {
  background-image: url('/build/v2/img/shelf-companies/New Jersey.png');
}

#reddiCorpsTable tbody tr[data-state-name="New York"] td:nth-child(2)::after {
  background-image: url('/build/v2/img/shelf-companies/New York.png');
}

#reddiCorpsTable tbody tr[data-state-name="Nebraska"] td:nth-child(2)::after {
  background-image: url('/build/v2/img/shelf-companies/Nebraska.png');
}

#reddiCorpsTable tbody tr[data-state-name="Wyoming"] td:nth-child(2)::after {
  background-image: url('/build/v2/img/shelf-companies/Wyoming.png');
}

#reddiCorpsTable tbody tr[data-state-name] td:nth-child(2) > * {
  position: relative;
  z-index: 1;
}

.reddi-icon {
  height: 1.5em;
  width: auto;
  vertical-align: baseline;
  margin-right: 0.5rem;
}

.reddi-corp-company-name {
  color: #e94235;
  text-decoration: underline;
}

#reddiCorpsTable tbody tr.reddi-corp-row {
  white-space: nowrap;
}

#reddiCorpsTable {
  table-layout: auto;
  width: 100%;
}

#reddiCorpsTable.reddi-corps-table-has-form tbody tr.reddi-corp-row {
  cursor: pointer;
}

@media (max-width: 767.98px) {
  .reddi-corps-filters {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
  }
  
  .reddi-corps-filter-item {
    width: 100%;
    min-width: auto;
  }
  
  .reddi-corps-filter-item .form-label {
    font-size: 0.8125rem;
    margin-bottom: 0.625rem;
  }
  
  .reddi-corps-filter-item .btn {
    width: 100%;
    min-width: auto;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
  }
  
  #tableContentContainer {
    padding: 1rem;
  }
  
  #reddiCorpsTable {
    font-size: 0.875rem;
  }
  
  #reddiCorpsTable thead th {
    padding: 0.75rem 0.5rem;
  }
  
  #reddiCorpsTable tbody td {
    padding: 0.75rem 0.5rem;
  }
  
  #reddiCorpsTable th:first-child,
  #reddiCorpsTable td:first-child {
    padding-left: 0.75rem;
  }
  
  #reddiCorpsTable th:last-child,
  #reddiCorpsTable td:last-child {
    padding-right: 0.75rem;
  }
  
  .form-label {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
  
  #reddiCorpsTable tbody tr[data-state-name] td:nth-child(2)::after {
    width: 50%;
    height: 50%;
    max-width: 60px;
    max-height: 60px;
  }
}

@media (max-width: 575.98px) {
  #tableContentContainer {
    padding: 0.75rem;
  }
  
  #reddiCorpsTable {
    font-size: 0.8125rem;
  }
  
  #reddiCorpsTable thead th {
    padding: 0.5rem 0.4rem;
  }
  
  #reddiCorpsTable tbody td {
    padding: 0.5rem 0.4rem;
  }
  
  #reddiCorpsTable tbody tr[data-state-name] td:nth-child(2)::after {
    width: 40%;
    height: 40%;
    max-width: 50px;
    max-height: 50px;
  }
}

/* ==========================================================================
   MEMBERSHIP BENEFITS SECTION STYLES
   ========================================================================== */

.membership-benefits-area {
  padding: var(--section-padding);
}

.raagcc-container {
  max-width: 1200px;
  margin: 0 auto;
}

.raagcc-red-subtitle {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.gcc-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.gcc-side-message {
  font-size: 2rem;
  font-weight: 500;
  color: #C7DCFB;
  text-align: center;
  line-height: 1.4;
}

.gcc-side-message-deep-blue {
  color: var(--primary-blue);
  font-weight: 700;
}

.bubble-deep-blue {
  background-color: var(--primary-blue);
  padding: 0.5rem 1rem;
  color: var(--text-white);
  border-radius: 0.9375rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  display: inline-block;
}

.gcc-description {
  font-weight: 400;
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .gcc-title {
    font-size: 2rem;
  }
  
  .gcc-side-message {
    font-size: 1.75rem;
  }
  
  .bubble-deep-blue {
    font-size: 1rem;
    padding: 0.5rem 0.875rem;
  }
  
  .gcc-description {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .gcc-title {
    font-size: 1.75rem;
  }
  
  .gcc-side-message {
    font-size: 1.5rem;
  }
  
  .bubble-deep-blue {
    font-size: 0.9375rem;
    padding: 0.375rem 0.75rem;
  }
  
  .gcc-description {
    font-size: 0.95rem;
  }
}