/* Blue Wave Design System - Direct Advocacy Redesign */

/* ============================================
   CSS Variables (Design Tokens)
   ============================================ */
:root {
  /* Colors - Primary */
  --color-primary-dark-red: #991b1b;
  --color-primary-red: #dc2626;
  --color-primary-light-red: #ef4444;
  
  /* Colors - Secondary */
  --color-secondary-blue: #2563eb;
  --color-secondary-white: #ffffff;
  
  /* Colors - Neutral */
  --color-neutral-black: #000000;
  --color-neutral-gray-900: #111827;
  --color-neutral-gray-700: #374151;
  --color-neutral-gray-500: #6b7280;
  --color-neutral-gray-300: #d1d5db;
  --color-neutral-gray-100: #f3f4f6;
  --color-neutral-gray-50: #f9fafb;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-heading: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  
  /* Spacing */
  --spacing-0: 0;
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;
  --spacing-24: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.125rem;
  --radius-base: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 150ms;
  --transition-base: 250ms;
  --transition-slow: 350ms;
  --easing-ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ============================================
   Base Styles
   ============================================ */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  overflow-x: hidden;
  font-weight: 400;
  color: var(--color-neutral-gray-700);
  background-color: var(--color-secondary-white);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-neutral-gray-900);
  margin: 0 auto 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 {
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
}

h2 {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

h3 {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

h4 {
  font-size: 1.5rem;
  line-height: 2rem;
}

h5 {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

h6 {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--color-neutral-gray-700);
}

a {
  transition-duration: var(--transition-base);
  transition-timing-function: var(--easing-ease-out);
  text-decoration: none;
  color: var(--color-primary-red);
}

a:hover, a:focus {
  text-decoration: none;
  outline: none;
  color: var(--color-primary-dark-red);
}

.white-text,
.white-text h1,
.white-text h2,
.white-text h3,
.white-text h4,
.white-text h5,
.white-text h6,
.white-text p,
.white-text .section-header p {
  color: var(--color-secondary-white) !important;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  background: var(--color-primary-red);
  border: none;
  border-radius: var(--radius-md);
  color: var(--color-secondary-white);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  margin: auto;
  padding: 0.75rem 1.5rem;
  transition: all var(--transition-base) var(--easing-ease-out);
  cursor: pointer;
  display: inline-block;
  box-shadow: var(--shadow-base);
}

.btn:hover, .btn:focus {
  color: var(--color-secondary-white);
  outline: none;
  background: #b91c1c;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.btn.btn-lg {
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

.btn.btn-sm {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.btn.secondary {
  background: var(--color-secondary-white);
  color: var(--color-primary-red);
  border: 2px solid var(--color-primary-red);
}

.btn.secondary:hover {
  background: #fef2f2;
  color: var(--color-primary-red);
}

/* ============================================
   Header & Navigation
   ============================================ */
#header {
  background: var(--color-secondary-white);
  box-shadow: var(--shadow-base);
  left: 0;
  right: 0;
  position: relative;
  transition-duration: var(--transition-base);
  z-index: 1200;
}

#header.sticky {
  position: fixed;
  top: 0;
}

#header .logo {
  margin: 1.125rem 0;
  transition-duration: var(--transition-base);
}

#header.sticky .logo {
  margin: 0.5rem 0;
}

.navbar.navbar-default {
  background: none;
  border-radius: 0;
  border: 0;
  margin: 0 auto;
  padding: 0;
  min-height: 80px;
}

.navbar-header {
  width: 100%;
  position: relative;
}

.navbar-header .logo {
  display: inline-block;
  vertical-align: middle;
}

@media (min-width: 992px) {
  .navbar-header {
    display: block;
  }
  
  .navbar-toggle {
    display: none !important;
  }
  
  .navbar-collapse {
    display: block !important;
    height: auto !important;
    padding-bottom: 0;
    overflow: visible !important;
  }
  
  .navbar.navbar-default .nav.navbar-nav {
    display: inline-block;
    float: none;
  }
  
  .navbar.navbar-default .nav.navbar-nav li {
    display: inline-block;
  }
  
  .header-act-btn {
    float: right;
    margin-top: 0.125rem;
    margin-left: 0;
    width: auto;
  }
  
  .header-act-btn .btn {
    width: auto;
    display: inline-block;
  }
}

.navbar.navbar-default .nav.navbar-nav {
  display: inline-block;
  float: none;
  margin: 0;
  padding: 0;
}

.navbar.navbar-default .nav.navbar-nav li {
  margin: 0;
  text-align: left;
  display: inline-block;
  position: relative;
}

.navbar.navbar-default .nav.navbar-nav > li > a {
  color: var(--color-neutral-gray-700);
  display: block;
  font-size: 1rem;
  font-weight: 500;
  padding: 1.875rem 1.25rem;
  transition: color var(--transition-base) var(--easing-ease-out);
}

.navbar.navbar-default .nav.navbar-nav li a:hover,
.navbar.navbar-default .nav.navbar-nav li a:focus,
.navbar.navbar-default .nav.navbar-nav li.active a {
  color: var(--color-primary-red);
  background: none;
  text-decoration: none;
}

.header-act-btn {
  float: right;
  margin-top: 0.125rem;
  margin-left: 0;
}

/* Mobile Menu Toggle Button */
.navbar-toggle {
  position: relative;
  float: right;
  padding: 9px 10px;
  margin-top: 8px;
  margin-right: 15px;
  margin-bottom: 8px;
  background-color: transparent;
  background-image: none;
  border: 2px solid var(--color-primary-red);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base) var(--easing-ease-out);
  display: none; /* Hidden by default on desktop */
  z-index: 1001;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.navbar-toggle:focus {
  outline: none;
}

.navbar-toggle:hover {
  background-color: var(--color-primary-red);
}

.navbar-toggle:hover .icon-bar {
  background-color: var(--color-secondary-white);
}

.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color: var(--color-primary-red);
  transition: all var(--transition-base) var(--easing-ease-out);
}

.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.navbar-toggle.collapsed .icon-bar {
  background-color: var(--color-primary-red);
}

.navbar-toggle:not(.collapsed) {
  background-color: var(--color-primary-red);
}

.navbar-toggle:not(.collapsed) .icon-bar {
  background-color: var(--color-secondary-white);
}

.navbar-toggle:not(.collapsed) .icon-bar:nth-child(1) {
  transform: rotate(45deg);
  transform-origin: center;
  margin-top: 8px;
}

.navbar-toggle:not(.collapsed) .icon-bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggle:not(.collapsed) .icon-bar:nth-child(3) {
  transform: rotate(-45deg);
  transform-origin: center;
  margin-top: -8px;
}

/* Mobile Menu Collapse */
.navbar-collapse {
  max-height: none;
}

/* Desktop: Always show menu */
@media (min-width: 992px) {
  .navbar-collapse {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    visibility: visible !important;
  }
  
  .navbar-collapse.collapse {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  .navbar-collapse.collapsing {
    display: block !important;
    height: auto !important;
  }
}

/* Mobile/Tablet: Collapse behavior */
@media (max-width: 991px) {
  .navbar-collapse {
    overflow-y: auto;
    max-height: none;
    clear: both;
  }
  
  /* Simple mobile menu styles */
  .navbar-collapse.collapse {
    display: none;
  }

  .navbar-collapse.collapse.in {
    display: block !important;
  }

  /* Ensure menu is visible when shown */
  #navbarSupportedContent {
    background: white;
    border: 1px solid #ddd;
    padding: 10px 0;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: none; /* Hidden by default on mobile */
  }
}

/* ============================================
   Banner / Hero Section
   ============================================ */
#banner {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
}

.secondary-bg {
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
}

.banner-text {
  padding: 0.625rem 1.25rem 0 0;
  z-index: 1;
  position: relative;
}

.banner-text h1 {
  color: var(--color-secondary-white);
  margin-bottom: var(--spacing-6);
}

.listing-li {
  margin: 0 auto 2.5rem;
  padding: 0;
  list-style: none;
}

.listing-li li {
  list-style: none;
  font-size: 1.125rem;
  padding-left: 3.625rem;
  margin: 0 auto 1.25rem;
  position: relative;
  color: var(--color-secondary-white);
}

.listing-li li i {
  background: var(--color-secondary-white);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  text-align: center;
  line-height: 2.25rem;
  color: var(--color-primary-red);
  font-size: 0.9375rem;
  position: absolute;
  top: 0;
  left: 0;
}

.banner-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.banner-image img {
  width: 100%;
  height: auto;
  display: block;
}

#banner .section-padding {
  padding: 8rem 0 !important;
}

/* ============================================
   Sections
   ============================================ */
section {
  position: relative;
  z-index: 1;
}

.section-padding {
  padding: 5.625rem 0;
}

.section-header {
  margin: 0 auto;
  max-width: 53.125rem;
  padding-bottom: 4.0625rem;
  text-align: center;
}

.section-header h2 {
  margin: 0 auto;
}

.section-header p {
  margin: 1.375rem auto 0;
  color: var(--color-neutral-gray-700);
}

.primary-bg {
  background-color: var(--color-neutral-gray-50);
}

/* ============================================
   Services
   ============================================ */
.services-box {
  text-align: center;
  background: var(--color-secondary-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: var(--spacing-6);
  box-shadow: var(--shadow-base);
  border: 1px solid var(--color-neutral-gray-300);
  transition: all var(--transition-base) var(--easing-ease-out);
}

.services-box:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.services-box h4 {
  color: var(--color-neutral-gray-900);
  margin-bottom: var(--spacing-4);
}

.services-box p {
  color: var(--color-neutral-gray-700);
  margin-bottom: 0;
}

/* ============================================
   Features / Why Choose
   ============================================ */
.features-box {
  padding: 1.625rem;
  background: var(--color-secondary-white);
  border-radius: var(--radius-lg);
  margin: 0 auto 1.5625rem;
  transition: all var(--transition-base) var(--easing-ease-out);
  box-shadow: var(--shadow-base);
}

.features-box:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.features-box p {
  font-size: 0.9375rem;
  line-height: 1.5rem;
  margin: 0 auto 0.9375rem;
}

.features-icon {
  width: 3.75rem;
  height: 3.75rem;
  font-size: 1.25rem;
  border-radius: var(--radius-full);
  text-align: center;
  line-height: 3.75rem;
  background: var(--color-primary-red);
  color: var(--color-secondary-white);
  margin: 0 0 1.25rem;
  transition-duration: var(--transition-base);
}

.features-box h6 {
  color: var(--color-neutral-gray-900);
  margin-bottom: var(--spacing-2);
}

.padding_right {
  padding-right: 3.75rem;
}

/* ============================================
   Steps / Experience Section
   ============================================ */
.steps-list {
  position: relative;
  padding-left: 5rem;
  margin: 0 auto 2.5rem;
}

.steps-list h5 {
  margin: 0 auto 0.5rem;
  color: var(--color-neutral-gray-900);
}

.steps-icon {
  width: 3.875rem;
  height: 3.875rem;
  background: var(--color-primary-red);
  border-radius: var(--radius-base);
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  line-height: 4.25rem;
}

.steps-icon i {
  color: var(--color-secondary-white);
  font-size: 1.75rem;
}

.panel-img img {
  max-width: 100%;
  border-radius: var(--radius-lg);
}

/* ============================================
   Footer
   ============================================ */
footer {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
}

.footer-top {
  padding: 5.625rem 0;
  border-bottom: rgba(255, 255, 255, 0.2) solid 1px;
}

.footer-logo {
  margin: 0 auto 1.875rem;
}

footer p {
  color: var(--color-secondary-white);
}

.footer-bottom {
  padding: 1.875rem 0;
}

.footer-bottom p {
  margin: 0 auto;
  text-align: center;
}

.footer-widget h4 {
  color: var(--color-secondary-white);
  margin-bottom: var(--spacing-4);
}

.footer-widget ul {
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.footer-widget ul li {
  list-style: none;
  margin-bottom: var(--spacing-2);
}

.footer-widget ul li a {
  color: var(--color-secondary-white);
  padding-left: 1.25rem;
  position: relative;
  transition: all var(--transition-base) var(--easing-ease-out);
}

.footer-widget ul li a:hover {
  color: var(--color-secondary-white);
  opacity: 0.8;
  padding-left: 1.5rem;
}

.footer-widget ul li a:after {
  position: absolute;
  top: 0;
  left: 0;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  line-height: 1.5625rem;
}

.newsletter-wrap p {
  margin: 0 auto 0.125rem;
}

.newsletter-wrap a {
  color: var(--color-secondary-white);
}

/* ============================================
   Utility Classes
   ============================================ */
.circle-pattern,
.circle-pattern-2 {
  position: absolute;
  opacity: 0.1;
  z-index: -1;
}

.circle-pattern {
  top: 3.1875rem;
  width: 9.375rem;
  left: -6.25rem;
}

.circle-pattern-2 {
  top: 3.75rem;
  right: -8.125rem;
}

/* Image styling */
img {
  max-width: 100%;
  width: auto;
  height: auto;
}

/* List styling */
ul, ol {
  margin: 0 auto 1.25rem;
}

ul li, ol li {
  margin: 0 auto 0.625rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 991px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
  
  .section-padding {
    padding: 3.75rem 0;
  }
  
  .padding_right {
    padding-right: 0;
  }
  
  #banner .section-padding {
    padding: 4rem 0 !important;
  }
  
  .banner-text {
    padding: 0;
  }
  
  .banner-image {
    margin-bottom: 2rem;
  }
  
  /* Tablet Navigation */
  .navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar-toggle {
    display: block !important;
    order: 2;
  }
  
  .navbar-header .logo {
    order: 1;
    flex: 1;
  }
  
  .navbar-collapse {
    border-top: 1px solid var(--color-neutral-gray-300);
    margin-top: 1rem;
    padding-top: 1rem;
    clear: both;
  }
  
  .navbar.navbar-default .nav.navbar-nav {
    display: block;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .navbar.navbar-default .nav.navbar-nav li {
    display: block;
    width: 100%;
    margin: 0;
  }
  
  .navbar.navbar-default .nav.navbar-nav > li > a {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--color-neutral-gray-100);
    display: block;
    width: 100%;
  }
  
  .navbar.navbar-default .nav.navbar-nav > li:last-child > a {
    border-bottom: none;
  }
  
  .header-act-btn {
    float: none;
    margin: 1rem 0 0;
    width: 100%;
  }
  
  .header-act-btn .btn {
    width: 100%;
    display: block;
    text-align: center;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  body {
    font-size: 0.9375rem;
    line-height: 1.75rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  #banner .section-padding {
    padding: 3rem 0 !important;
  }
  
  /* Mobile Navigation */
  .navbar-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar-header .logo {
    margin: 1rem 0;
    flex: 1;
    order: 1;
  }
  
  .navbar-toggle {
    display: block !important;
    margin: 1rem 0;
    order: 2;
  }
  
  .navbar-collapse {
    border-top: 1px solid var(--color-neutral-gray-300);
    margin-top: 1rem;
    padding-top: 1rem;
    clear: both;
  }
  
  .navbar.navbar-default .nav.navbar-nav {
    display: block;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .navbar.navbar-default .nav.navbar-nav li {
    display: block;
    width: 100%;
    margin: 0;
    text-align: left;
  }
  
  .navbar.navbar-default .nav.navbar-nav > li > a {
    padding: 0.875rem 1rem;
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--color-neutral-gray-100);
  }
  
  .navbar.navbar-default .nav.navbar-nav > li:last-child > a {
    border-bottom: none;
  }
  
  .header-act-btn {
    float: none;
    margin: 1rem 0 0;
    width: 100%;
  }
  
  .header-act-btn .btn {
    width: 100%;
    display: block;
    text-align: center;
  }
  
  .features-box {
    margin: 1.875rem auto 0;
  }
  
  .steps-list {
    padding-left: 4rem;
  }
  
  .circle-pattern,
  .circle-pattern-2 {
    display: none;
  }
}

