/* Global Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* Typography */
h1,
h2,
h3,
h4,
p {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 1rem;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    font-weight: 400;
    font-size: 1rem;
}

/* Highlight color (used for important words and accents) */
.highlight {
    color: var(--highlight-color);
}

/* Make focus-visible outlines clearer for keyboard users */
:focus-visible {
    outline: 3px solid rgba(29, 143, 189, 0.18);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Buttons and actionable elements should have a clear focus state */
.btn:focus-visible,
.mobile-nav-list a:focus-visible,
.mobile-quick-link:focus-visible,
.quick-action:focus-visible {
    box-shadow: 0 0 0 4px rgba(29, 143, 189, 0.12);
}

/* Top Bar */
.top-bar {
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 12px 0;
    font-size: 0.9rem;
}

.top-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.top-links a {
    color: rgba(255, 255, 255, 0.9);
}

.top-links a:hover {
    color: var(--accent-gold);
}

.motive-status {
    color: var(--accent-gold);
    font-weight: 700;
}

/* Trust Badges Bar */
.trust-badges-bar {
    background: linear-gradient(90deg, #1e3a8a, #1f2937);
    padding: 0.6rem 0;
    border-bottom: 2px solid var(--accent-gold);
}

.trust-badges-group {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.trust-badge i {
    font-size: 1rem;
}

.trust-badge.veteran-badge i {
    color: #dc2626;
}

.trust-badge.faith-badge i {
    color: #7c3aed;
}

.trust-badge:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.trust-badge.veteran-badge:hover i {
    color: #f87171;
}

.trust-badge.faith-badge:hover i {
    color: #a78bfa;
}

/* Header */
.main-header {
    background: linear-gradient(90deg, var(--navy-dark), #0d3b66);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.1);
}

.header-scrolled {
    box-shadow: 0 8px 24px rgba(0, 51, 102, 0.15);
    padding: 0.7rem 0;
}

.header-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.logo img {
    height: 50px;
}

.header-center {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.nav-list {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-list::-webkit-scrollbar {
    display: none;
}

.nav-list li {
    flex-shrink: 0;
}

.nav-list a {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #ffffff;
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}

.nav-list a.active,
.nav-list a:hover {
    color: var(--accent-gold);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background-color: rgba(212, 175, 55, 0.1);
}

/* Dropdown Navigation */
.nav-item {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: #ffffff;
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.2);
    overflow: hidden;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 14px 18px;
    color: var(--navy-dark);
    font-size: 0.9rem;
    text-transform: capitalize;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a:hover {
    color: var(--accent-gold);
    background-color: #f9f5f0;
    padding-left: 22px;
    font-weight: 600;
}

.header-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    flex-wrap: nowrap;
    justify-content: flex-end;
    white-space: nowrap;
    margin-left: auto;
}

.header-meta .meta-item i {
    margin-right: 6px;
    color: var(--accent-gold);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* end header */

/* ===================================
   ENHANCED BUTTONS - Modern & Premium
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Shimmer effect on hover */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Primary Button - Gradient Blue */
.btn-primary {
    background: linear-gradient(135deg, #1d8fbd 0%, #0d5a7d 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(29, 143, 189, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2aa3d4 0%, #1d8fbd 100%);
    box-shadow: 0 8px 30px rgba(29, 143, 189, 0.6);
    transform: translateY(-3px) scale(1.02);
}

/* Gold Button - Premium Gradient */
.btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: var(--navy-dark);
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #f4d03f 0%, #ffd700 100%);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
    transform: translateY(-3px) scale(1.02);
}

/* Outline Button - Glass Effect */
.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px) scale(1.02);
}

/* Navy Button - Dark Gradient */
.btn-navy {
    background: linear-gradient(135deg, #003366 0%, #001a33 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.4);
}

.btn-navy:hover {
    background: linear-gradient(135deg, #004080 0%, #003366 100%);
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.6);
    transform: translateY(-3px) scale(1.02);
}

/* Size Variants */
.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
    letter-spacing: 1px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}

.btn-xl {
    padding: 22px 50px;
    font-size: 1.1rem;
    letter-spacing: 1.2px;
}

/* Icon Buttons */
.btn i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

/* Disabled State */
.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover,
.btn.disabled:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ===================================
   FANCY UNIVERSAL BUTTONS (AGREEMENT STYLE)
   =================================== */
.fancy-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.btn-universal-fancy {
    background: var(--gold-gradient);
    color: white;
    /* Contrast Text */
    border: none;
    padding: 20px 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    /* Pill Shape */
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(240, 165, 0, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
    line-height: 1;
}

.btn-universal-fancy:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 20px 35px rgba(240, 165, 0, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.4);
    color: white;
}

.btn-universal-fancy:active {
    transform: scale(0.98);
}

/* Secondary Button Style */
.btn-universal-secondary {
    background: #e2e8f0;
    color: #475569;
    border: 2px solid #cbd5e1;
    padding: 18px 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-universal-secondary:hover {
    background: #cbd5e1;
    color: #1e293b;
    transform: translateY(-2px);
}

/* ===================================
   ENHANCED BADGES - Modern & Animated
   =================================== */

/* Trust Badges - Glassmorphism */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.trust-badge i {
    font-size: 1.3em;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.trust-badge:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Veteran Badge - Red Gradient */
.trust-badge.veteran-badge {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(185, 28, 28, 0.2) 100%);
    border-color: rgba(220, 38, 38, 0.4);
}

.trust-badge.veteran-badge:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.3) 0%, rgba(185, 28, 28, 0.3) 100%);
    border-color: rgba(220, 38, 38, 0.6);
}

.trust-badge.veteran-badge i {
    color: #f87171;
    text-shadow: 0 0 10px rgba(248, 113, 113, 0.5);
}

/* Faith Badge - Purple Gradient */
.trust-badge.faith-badge {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(109, 40, 217, 0.2) 100%);
    border-color: rgba(124, 58, 237, 0.4);
}

.trust-badge.faith-badge:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(109, 40, 217, 0.3) 100%);
    border-color: rgba(124, 58, 237, 0.6);
}

.trust-badge.faith-badge i {
    color: #c4b5fd;
    text-shadow: 0 0 10px rgba(196, 181, 253, 0.5);
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.badge-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.badge-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.badge-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.badge-premium {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: var(--navy-dark);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* Pulse Animation for Important Badges */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.6);
    }
}

.badge-premium.pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Platform Hero */
.platform-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, #0d2b4d 100%);
    padding: 3rem 1rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.platform-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.platform-hero h1 .highlight {
    color: var(--highlight-color);
}

.platform-hero .hero-subtext {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Hero Header Styling */
.hero-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003366 0%, #006699 100%);
    color: #fff;
    padding: 3rem 1rem;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.motive-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.hero-header h1 {
    font-size: 2.8rem;
    margin: 0;
    font-weight: 800;
    color: #ffffff !important;
    /* Force white text */
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero-header p {
    font-size: 1.2rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 400;
}

/* About Blurbs Section */
.about-blurbs {
    padding: 2rem 1rem;
    background: #f8f9fa;
}

.service-card-v2 {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.service-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent-gold);
}

.service-card-v2 h3 {
    margin: 1rem 0 0.5rem 0;
    color: var(--navy-dark);
}

.service-card-v2 p {
    color: #64748b;
    font-size: 0.95rem;
}

.service-card-v2 i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}


/* Values & Trust Section */
.values-trust-section {
    position: relative;
    z-index: 10;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

/* Services Header Styling */
.services-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003366 0%, #006699 100%);
    color: #fff;
    padding: 3rem 1rem;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.services-header h1 {
    font-size: 2.8rem;
    margin: 0;
    font-weight: 800;
}

.services-header p {
    font-size: 1.2rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

#specialties h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #003366;
    text-align: center;
    margin-bottom: 1rem;
}

/* Page Hero - Unified styling for all page headers */
.page-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003366 0%, #006699 100%);
    color: #fff;
    padding: 3rem 1rem;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.page-hero .header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin: 0;
    font-weight: 800;
}

.page-hero p {
    font-size: 1.2rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

/* Responsive Hero Text */
@media (max-width: 768px) {

    .page-hero h1,
    .hero-header h1,
    .services-header h1 {
        font-size: 2rem;
        /* Smaller font for mobile */
    }

    .page-hero p,
    .hero-header p,
    .services-header p {
        font-size: 1rem;
    }
}

/* Error Page Styling */
.error-page {
    text-align: center;
    padding: 3rem 1rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-page i {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    display: block;
}

.error-page h1 {
    font-size: 6rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.error-page h2 {
    margin-bottom: 1rem;
}

.error-page p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* Hero overlay & brand badges */
.hero-section {
    position: relative;
}

.hero-section .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.25), rgba(2, 6, 23, 0.55));
    z-index: 1;
}

.brand-badges {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
}

.brand-badges .badge {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Icon circle for service cards */
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.highlight {
    color: var(--primary-light);
}

.hero-subtext {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.motive-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(29, 143, 189, 0.2);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid var(--primary-color);
}

/* Map UI */
.map-interface {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--navy-dark);
}

.map-header {
    background: var(--gray-100);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-200);
}

.status-pill {
    color: var(--navy-dark);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #27ae60;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.map-canvas {
    height: 400px;
    background: #e5e3df;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-loading {
    text-align: center;
    color: var(--navy-dark);
    opacity: 0.6;
}

.map-loading i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.map-footer {
    background: var(--gray-100);
    padding: 10px 15px;
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.grid-2-bias {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

/* Responsive Grids */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-3,
    .grid-2-bias {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Service Cards */
.services-section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
    margin: 1.25rem auto 0;
    border-radius: 2px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: var(--spacing-md);
}

/* About & Check-list */
.content-section {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background: var(--gray-100);
}

.check-list li {
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: var(--navy-dark);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

/* Footer */
.main-footer {
    background: #051426;
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-logo {
    margin-bottom: 1rem;
    filter: none;
    width: auto;
    max-height: 70px;
    display: block;
}

/* Footer Trust Section */
.footer-trust-section {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15), rgba(124, 58, 237, 0.1));
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-gold);
    margin-bottom: 2rem;
}

.footer-trust-section h4 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.footer-badge {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-badge:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-badge .badge-icon {
    font-size: 2rem;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.footer-badge.veteran-badge .badge-icon {
    background: rgba(220, 38, 38, 0.15);
    color: #f87171;
}

.footer-badge.faith-badge .badge-icon {
    background: rgba(124, 58, 237, 0.15);
    color: #c4b5fd;
}

.footer-badge .badge-text {
    flex: 1;
}

.footer-badge strong {
    color: #ffffff;
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.footer-badge p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
    font-weight: 400;
    text-align: left;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.72);
}

/* Animations & Mobile */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(39, 174, 96, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
    }
}

@media (max-width: 992px) {

    .platform-grid,
    .grid-3,
    .grid-4,
    .grid-2-bias {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.2rem;
    }

    .top-links {
        justify-content: center;
    }

    .main-nav {
        display: none;
    }

    .header-meta {
        display: none;
    }

    .header-actions .btn-gold {
        display: none;
    }

    .mobile-quick-mode {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        padding: 8px 10px;
        color: var(--accent-gold);
        border: none;
        font-size: 1.05rem;
        cursor: pointer;
        margin-right: 6px;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--white);
        transition: 0.3s;
    }

    /* Mobile menu overlay */
    .mobile-menu {
        position: fixed;
        inset: 0;
        background: rgba(2, 6, 23, 0.98);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 2000;
        padding: 2rem;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu-inner {
        width: 100%;
        max-width: 420px;
        text-align: center;
        position: relative;
    }

    .mobile-menu-close {
        position: absolute;
        top: 18px;
        right: 18px;
        background: transparent;
        color: var(--white);
        font-size: 2.2rem;
        border: none;
        cursor: pointer;
    }

    .mobile-nav-list {
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 0;
        margin: 0 0 18px;
    }

    .mobile-nav-list a {
        display: block;
        padding: 20px;
        font-size: 1.3rem;
        background: rgba(255, 255, 255, 0.04);
        border-radius: 8px;
        color: var(--white);
    }

    .mobile-nav-list a:hover {
        background: rgba(255, 255, 255, 0.07);
        color: var(--accent-gold);
    }

    /* Mobile dropdown menus (click to expand) */
    .mobile-nav-list .nav-item {
        position: relative;
    }

    .mobile-nav-list .dropdown-toggle::after {
        content: '▼';
        font-size: 0.6rem;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }

    .mobile-nav-list .nav-item.expanded .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .mobile-nav-list .dropdown-menu {
        position: static;
        background: rgba(13, 59, 102, 0.95);
        border: none;
        border-radius: 8px;
        min-width: auto;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        transform: none;
        transition: all 0.3s ease;
        margin-top: 0;
        box-shadow: none;
        overflow: hidden;
    }

    .mobile-nav-list .nav-item.expanded .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        margin-top: 0.5rem;
    }

    .mobile-nav-list .dropdown-menu a {
        padding: 12px 18px;
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.85);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-nav-list .dropdown-menu a:hover {
        background-color: rgba(212, 175, 55, 0.1);
        color: var(--accent-gold);
    }

    .mobile-cta .btn {
        width: 100%;
        padding: 18px 18px;
        font-size: 1.05rem;
    }

    .mobile-quick {
        margin-top: 16px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-quick-link {
        color: rgba(255, 255, 255, 0.95);
        font-weight: 700;
        padding: 14px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 8px;
    }

    .mobile-quick-link i {
        margin-right: 8px;
        color: var(--accent-gold);
    }

    /* Mobile Quick Mode Overlay */
    .mobile-quick-overlay {
        position: fixed;
        inset: 0;
        background: linear-gradient(180deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.92));
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 2100;
        padding: 2rem;
    }

    .mobile-quick-overlay.active {
        display: flex;
    }

    .mobile-quick-inner {
        width: 100%;
        max-width: 420px;
        text-align: center;
        position: relative;
    }

    .mobile-quick-close {
        position: absolute;
        top: 18px;
        right: 18px;
        background: transparent;
        color: var(--white);
        font-size: 2.2rem;
        border: none;
        cursor: pointer;
    }

    .mobile-quick-actions {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .quick-action {
        display: block;
        padding: 18px;
        font-size: 1.25rem;
        border-radius: 12px;
        font-weight: 800;
        text-decoration: none;
    }

    .quick-action.call {
        background: var(--accent-gold);
        color: var(--navy-dark);
    }

    .quick-action.track,
    .quick-action.map {
        background: rgba(255, 255, 255, 0.06);
        color: var(--white);
        border: 2px solid rgba(255, 255, 255, 0.02);
    }

    .quick-action:active,
    .quick-action:focus {
        transform: translateY(1px);
    }

    .quick-action:focus-visible {
        outline: 3px solid rgba(255, 255, 255, 0.12);
        outline-offset: 4px;
    }

    .mobile-quick-inner {
        animation: scaleIn 260ms cubic-bezier(.2, .9, .2, 1);
    }

    @keyframes scaleIn {
        from {
            transform: scale(.98);
            opacity: 0
        }

        to {
            transform: scale(1);
            opacity: 1
        }
    }

    .full-menu-btn {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
        margin-top: 8px;
    }

    /* ===== COMING SOON MOBILE IMPROVEMENTS ===== */

    /* Stack notify me section vertically */
    .notify-me-section {
        flex-direction: column;
        padding: 1rem;
    }

    .notify-me-section input {
        width: 100%;
    }

    .notify-me-section button {
        width: 100%;
        padding: 0.9rem;
        font-size: 1rem;
    }

    /* Progress indicators mobile */
    .feature-progress {
        padding: 0.8rem;
    }

    .feature-progress-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    /* Feature voting mobile */
    .feature-voting {
        padding: 0.8rem;
    }

    .feature-voting-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* Coming soon badges mobile */
    .coming-soon-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    .launch-timeline {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    /* Status labels mobile */
    .feature-status {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }

    /* Interest counter mobile */
    .interest-counter {
        flex-direction: column;
        text-align: center;
        padding: 0.6rem;
    }

    /* Integration cards mobile */
    .integrations-grid {
        grid-template-columns: 1fr !important;
    }

    /* Resources grid mobile */
    .resources-grid {
        grid-template-columns: 1fr !important;
    }

    /* Footer badges mobile */
    .footer-badges {
        grid-template-columns: 1fr !important;
    }


    /* Carrier Portal Specifics */
    #onboarding-form input {

        padding: 12px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--gray-200);
        font-family: var(--font-body);
    }

    #onboarding-form input:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(29, 143, 189, 0.1);
    }

    /* Accessibility Enhancements */
    :focus {
        outline: 3px solid var(--highlight-color);
        outline-offset: 2px;
    }

    /* Ensure sufficient color contrast */
    body {
        color: #333;
        background-color: #fff;
    }

    /* Add skip-to-content link */
    .skip-to-content {
        position: absolute;
        top: 0;
        left: 0;
        background: var(--highlight-color);
        color: #fff;
        padding: 0.5rem;
        z-index: 1000;
        text-decoration: none;
    }

    .skip-to-content:focus {
        top: 10px;
    }

    /* Ensure seamless text alignment and prevent short texts from breaking into two lines */
    h1,
    h2,
    h3,
    h4,
    p {
        word-wrap: break-word;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Ensure the Motive logo is displayed properly */
    .motive-logo {
        display: block;
        margin: 0 auto;
        height: 90px;
        width: auto;
        object-fit: contain;
    }

    .error-page p {
        font-size: 1.1rem;
        color: var(--text-dark);
        margin-bottom: 1.5rem;
    }

    /* Service Card Button Spacing */
    .service-card-v2 .btn {
        margin-top: 1rem;
    }

    /* Values & Trust Section */
    .values-trust-section {
        background: linear-gradient(135deg, rgba(0, 51, 102, 0.05) 0%, rgba(0, 102, 153, 0.05) 100%);
        padding: 4rem 1rem;
        border-top: 3px solid var(--primary-color);
    }

    .values-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        margin: 2rem 0 3rem 0;
    }

    .value-card {
        background: #fff;
        padding: 2.5rem;
        border-radius: 12px;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
        transition: all 0.3s ease;
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;
    }

    .value-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .value-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    .value-card:hover::before {
        opacity: 1;
    }

    .value-card.veteran {
        border-color: rgba(0, 51, 102, 0.2);
    }

    .value-card.faith {
        border-color: rgba(212, 175, 55, 0.2);
    }

    .value-card.service {
        border-color: rgba(29, 143, 189, 0.2);
    }

    .value-badge {
        font-size: 3rem;
        margin-bottom: 1rem;
        display: inline-block;
    }

    .value-card.veteran .value-badge {
        color: #003366;
    }

    .value-card.faith .value-badge {
        color: var(--accent-gold);
    }

    .value-card.service .value-badge {
        color: var(--primary-color);
    }

    .value-card h3 {
        font-size: 1.5rem;
        margin: 1rem 0 0.5rem 0;
        color: #003366;
    }

    .value-card p {
        color: #64748b;
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 1rem 0;
    }

    .trust-mark {
        display: inline-block;
        background: #f0f7ff;
        color: var(--primary-color);
        padding: 0.6rem 1rem;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 600;
        margin-top: 1rem;
    }

    .trust-mark i {
        margin-right: 0.5rem;
    }

    .value-card.faith .trust-mark {
        background: #fffbf0;
        color: var(--accent-gold);
    }

    .founder-highlight {
        background: linear-gradient(135deg, #003366 0%, #006699 100%);
        color: #fff;
        padding: 2rem;
        border-radius: 12px;
        margin-top: 2rem;
        text-align: center;
    }

    .highlight-content h4 {
        font-size: 1.5rem;
        color: var(--accent-gold);
        margin-bottom: 1rem;
    }

    .highlight-content p {
        font-size: 1.1rem;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.95);
    }

    /* Testimonials Section */
    .testimonials-section {
        background: #f8f9fa;
        padding: 4rem 1rem;
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }

    .testimonial-card {
        background: #fff;
        padding: 2rem;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        border-left: 4px solid var(--primary-color);
    }

    .testimonial-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    }

    .testimonial-header {
        margin-bottom: 1rem;
    }

    .stars {
        color: var(--accent-gold);
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .stars i {
        margin-right: 0.25rem;
    }

    .testimonial-card h4 {
        font-size: 1.1rem;
        color: #003366;
        margin: 0.5rem 0 0 0;
    }

    .testimonial-card p {
        color: #64748b;
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 1rem 0;
        font-style: italic;
    }

    .testimonial-footer {
        display: flex;
        flex-direction: column;
        margin-top: 1rem;
        border-top: 1px solid #eee;
        padding-top: 1rem;
    }

    .testimonial-footer strong {
        color: #003366;
        font-size: 0.95rem;
    }

    .testimonial-footer span {
        color: #999;
        font-size: 0.85rem;
    }

    /* Progress Bars for Metrics */
    #performance-metrics {
        background: linear-gradient(135deg, #f8f9fa 0%, #f0f4f8 100%);
        padding: 4rem 1rem;
        border-top: 3px solid var(--primary-color);
        border-bottom: 3px solid var(--accent-gold);
    }

    #performance-metrics h2 {
        margin-bottom: 3rem;
        font-size: 2.2rem;
        color: #003366;
    }

    .metrics {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 3rem;
        max-width: 1000px;
        margin: 0 auto;
    }

    .metric {
        background: #fff;
        padding: 2rem;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
        transition: all 0.3s ease;
        border: 1px solid rgba(212, 175, 55, 0.1);
    }

    .metric:hover {
        box-shadow: 0 8px 30px rgba(0, 51, 102, 0.12);
        transform: translateY(-4px);
        border-color: rgba(212, 175, 55, 0.3);
    }

    .metric h3 {
        font-size: 1.1rem;
        color: #003366;
        margin-bottom: 1.5rem;
        text-align: left;
        font-weight: 600;
    }

    .progress-container {
        margin-top: 1rem;
    }

    .progress-bar {
        width: 100%;
        height: 12px;
        background: #e8eef5;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #003366 0%, #d4af37 100%);
        border-radius: 10px;
        transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        position: relative;
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }

    .progress-fill::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        border-radius: 10px;
        animation: shimmer 2s infinite;
    }

    @keyframes shimmer {
        0% {
            transform: translateX(-100%);
        }

        100% {
            transform: translateX(100%);
        }
    }

    .progress-label {
        margin-top: 1rem;
        font-size: 1.8rem;
        font-weight: 700;
        color: #003366;
        text-align: center;
        font-family: 'Montserrat', sans-serif;
    }

    /* FAQ Section */
    .faq-section {
        background: #fff;
        padding: 4rem 1rem;
        border-top: 3px solid var(--primary-color);
    }

    .faq-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .faq-item {
        background: #f8f9fa;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem;
        background: #fff;
        cursor: pointer;
        user-select: none;
        transition: all 0.3s ease;
    }

    .faq-question:hover {
        background: #f0f7ff;
    }

    .faq-question h4 {
        margin: 0;
        font-size: 1rem;
        color: #003366;
        font-weight: 600;
        text-align: left;
    }

    .faq-question i {
        color: var(--primary-color);
        transition: all 0.3s ease;
    }

    .faq-item.active .faq-question i {
        transform: rotate(180deg);
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer {
        max-height: 500px;
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .faq-answer p {
        color: #64748b;
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0;
    }

    /* Founder Story Section */
    .founder-story-section {
        background: #fff;
        padding: 4rem 1rem;
    }

    .story-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }

    .story-text h2 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .story-text h3 {
        font-size: 1.3rem;
        color: var(--accent-gold);
        margin-bottom: 1.5rem;
    }

    .story-text p {
        color: #64748b;
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    .story-highlights {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin: 2rem 0;
        padding: 2rem;
        background: #f8f9fa;
        border-radius: 12px;
    }

    .highlight-item {
        text-align: center;
    }

    .highlight-item i {
        font-size: 2rem;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
        display: block;
    }

    .highlight-item h4 {
        font-size: 1rem;
        margin: 0.5rem 0;
        color: #003366;
    }

    .highlight-item p {
        font-size: 0.85rem;
        margin: 0.5rem 0 0 0;
    }

    .story-text blockquote {
        border-left: 4px solid var(--accent-gold);
        padding-left: 1.5rem;
        margin: 2rem 0;
        font-style: italic;
        color: #64748b;
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .story-text blockquote footer {
        font-style: normal;
        margin-top: 1rem;
        color: #003366;
        font-weight: 600;
    }

    .story-image {
        text-align: center;
    }

    .image-placeholder {
        background: linear-gradient(135deg, #003366 0%, #006699 100%);
        color: #fff;
        padding: 3rem 2rem;
        border-radius: 12px;
        text-align: center;
    }

    .image-placeholder i {
        font-size: 5rem;
        margin-bottom: 1rem;
        opacity: 0.9;
    }

    .image-placeholder p {
        font-size: 1.1rem;
        margin: 0;
    }

    .image-placeholder span {
        font-size: 0.9rem;
        opacity: 0.8;
        display: block;
        margin-top: 0.5rem;
    }

    /* Team Values Section */
    .team-values {
        background: #f8f9fa;
        padding: 4rem 1rem;
        border-bottom: 3px solid var(--primary-color);
    }

    .values-row {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }

    .value-item {
        background: #fff;
        padding: 2rem;
        border-radius: 12px;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        transition: all 0.3s ease;
    }

    .value-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    }

    .value-item i {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
        display: block;
    }

    .value-item h3 {
        font-size: 1.2rem;
        margin: 0.5rem 0;
        color: #003366;
    }

    .value-item p {
        color: #64748b;
        font-size: 0.9rem;
        line-height: 1.6;
        margin: 0.5rem 0 0 0;
    }

    /* RESOURCE LIBRARY SECTION */
    .resource-library-section {
        padding: 100px 0;
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    }

    .resources-tabs {
        margin-top: 3rem;
    }

    .tab-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin-bottom: 3rem;
        flex-wrap: wrap;
    }

    .tab-btn {
        padding: 12px 28px;
        border: 2px solid #e2e8f0;
        background: #ffffff;
        color: var(--navy-dark);
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: var(--font-heading);
    }

    .tab-btn:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
        box-shadow: 0 4px 12px rgba(29, 143, 189, 0.1);
    }

    .tab-btn.active {
        background: var(--primary-color);
        color: #ffffff;
        border-color: var(--primary-color);
        box-shadow: 0 8px 20px rgba(29, 143, 189, 0.25);
    }

    .resource-tab {
        display: none;
    }

    .resource-tab.active {
        display: block;
        animation: fadeIn 0.4s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .resources-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .resource-card {
        background: #ffffff;
        padding: 2rem;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        transition: all 0.3s ease;
        border-left: 4px solid var(--primary-color);
        display: flex;
        flex-direction: column;
    }

    .resource-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
        border-left-color: var(--accent-gold);
    }

    .resource-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, rgba(29, 143, 189, 0.1), rgba(29, 143, 189, 0.05));
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
        font-size: 1.8rem;
        color: var(--primary-color);
    }

    .resource-card h4 {
        font-size: 1.1rem;
        margin: 0 0 0.8rem 0;
        color: var(--navy-dark);
        font-weight: 700;
    }

    .resource-card p {
        color: #64748b;
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        flex-grow: 1;
    }

    .resource-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: #f8fafc;
        border-radius: 8px;
        font-size: 0.85rem;
    }

    .doc-type {
        color: var(--primary-color);
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .file-size {
        color: #94a3b8;
        font-size: 0.8rem;
    }

    .resource-card .btn {
        align-self: flex-start;
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    /* ========================================
   COMING SOON FEATURES - ENHANCED STYLES
   ======================================== */

    /* Coming Soon Badge with Pulse Animation */
    .coming-soon-badge {
        display: inline-block;
        background: linear-gradient(135deg, #fbbf24, #f59e0b);
        color: #ffffff;
        padding: 0.5rem 1rem;
        border-radius: 9999px;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 1rem;
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
        animation: badgePulse 2s ease-in-out infinite;
        position: relative;
    }

    @keyframes badgePulse {

        0%,
        100% {
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
            transform: scale(1);
        }

        50% {
            box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
            transform: scale(1.05);
        }
    }

    /* Launch Timeline Badge */
    .launch-timeline {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(59, 130, 246, 0.1);
        color: #3b82f6;
        padding: 0.4rem 0.8rem;
        border-radius: 6px;
        font-size: 0.8rem;
        font-weight: 600;
        margin-top: 0.5rem;
        border: 1px solid rgba(59, 130, 246, 0.2);
    }

    .launch-timeline i {
        font-size: 0.9rem;
    }

    /* Progress Indicator */
    .feature-progress {
        margin-top: 1rem;
        padding: 1rem;
        background: rgba(59, 130, 246, 0.05);
        border-radius: 8px;
        border-left: 3px solid #3b82f6;
    }

    .feature-progress-label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
        font-weight: 600;
        color: #1e293b;
    }

    .feature-progress-bar {
        width: 100%;
        height: 8px;
        background: #e2e8f0;
        border-radius: 999px;
        overflow: hidden;
        position: relative;
    }

    .feature-progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #3b82f6, #2563eb);
        border-radius: 999px;
        transition: width 0.6s ease;
        position: relative;
        overflow: hidden;
    }

    .feature-progress-fill::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        animation: shimmer 2s infinite;
    }

    @keyframes shimmer {
        0% {
            transform: translateX(-100%);
        }

        100% {
            transform: translateX(100%);
        }
    }

    /* Status Labels */
    .feature-status {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.3rem 0.7rem;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .feature-status.in-development {
        background: rgba(245, 158, 11, 0.1);
        color: #f59e0b;
        border: 1px solid rgba(245, 158, 11, 0.3);
    }

    .feature-status.testing {
        background: rgba(59, 130, 246, 0.1);
        color: #3b82f6;
        border: 1px solid rgba(59, 130, 246, 0.3);
    }

    .feature-status.planning {
        background: rgba(139, 92, 246, 0.1);
        color: #8b5cf6;
        border: 1px solid rgba(139, 92, 246, 0.3);
    }

    .feature-status i {
        font-size: 0.7rem;
        animation: spin 2s linear infinite;
    }

    @keyframes spin {
        from {
            transform: rotate(0deg);
        }

        to {
            transform: rotate(360deg);
        }
    }

    /* Coming Soon Resource Card */
    .resource-card.coming-soon {
        opacity: 0.85;
        position: relative;
        border: 2px solid rgba(251, 191, 36, 0.3);
        background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
    }

    .resource-card.coming-soon:hover {
        transform: translateY(-4px);
        opacity: 1;
        border-color: rgba(251, 191, 36, 0.5);
    }

    .resource-card.coming-soon .btn {
        background-color: #cbd5e1;
        color: #64748b;
        cursor: not-allowed;
        pointer-events: none;
    }

    /* Notify Me Section - Enhanced */
    .notify-me-section {
        display: flex;
        gap: 0.5rem;
        margin-top: 1rem;
        padding: 1.2rem;
        background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(245, 158, 11, 0.05));
        border-radius: 10px;
        border: 2px solid rgba(251, 191, 36, 0.25);
        transition: all 0.3s ease;
    }

    .notify-me-section:hover {
        border-color: rgba(251, 191, 36, 0.4);
        background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(245, 158, 11, 0.08));
    }

    .notify-me-section input {
        flex: 1;
        padding: 0.7rem 1rem;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }

    .notify-me-section input:focus {
        outline: none;
        border-color: #f59e0b;
        box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
    }

    .notify-me-section input::placeholder {
        color: #94a3b8;
    }

    .notify-me-section button {
        padding: 0.7rem 1.5rem;
        background: linear-gradient(135deg, #f59e0b, #d97706);
        color: white;
        border: none;
        border-radius: 8px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    }

    .notify-me-section button:hover {
        background: linear-gradient(135deg, #d97706, #b45309);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    }

    .notify-me-section button:active {
        transform: translateY(0);
    }

    /* Success/Error Messages */
    .notify-message {
        margin-top: 0.5rem;
        padding: 0.6rem 1rem;
        border-radius: 6px;
        font-size: 0.85rem;
        font-weight: 600;
        display: none;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .notify-message.success {
        background: rgba(34, 197, 94, 0.1);
        color: #16a34a;
        border: 1px solid rgba(34, 197, 94, 0.3);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .notify-message.error {
        background: rgba(239, 68, 68, 0.1);
        color: #dc2626;
        border: 1px solid rgba(239, 68, 68, 0.3);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .notify-message.show {
        display: flex;
    }

    /* Feature Voting Section */
    .feature-voting {
        margin-top: 1rem;
        padding: 1rem;
        background: rgba(139, 92, 246, 0.05);
        border-radius: 8px;
        border: 1px solid rgba(139, 92, 246, 0.2);
    }

    .feature-voting-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.8rem;
    }

    .feature-voting-header h5 {
        font-size: 0.9rem;
        color: #1e293b;
        margin: 0;
    }

    .vote-count {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        color: #8b5cf6;
        font-weight: 700;
        font-size: 0.85rem;
    }

    .vote-count i {
        font-size: 1rem;
    }

    .vote-button {
        width: 100%;
        padding: 0.7rem;
        background: linear-gradient(135deg, #8b5cf6, #7c3aed);
        color: white;
        border: none;
        border-radius: 8px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .vote-button:hover {
        background: linear-gradient(135deg, #7c3aed, #6d28d9);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    }

    .vote-button.voted {
        background: linear-gradient(135deg, #10b981, #059669);
    }

    .vote-button.voted i {
        animation: heartBeat 0.5s ease;
    }

    @keyframes heartBeat {

        0%,
        100% {
            transform: scale(1);
        }

        25% {
            transform: scale(1.3);
        }

        50% {
            transform: scale(1.1);
        }

        75% {
            transform: scale(1.2);
        }
    }

    /* Interest Counter */
    .interest-counter {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
        padding: 0.8rem;
        background: rgba(59, 130, 246, 0.08);
        border-radius: 8px;
        font-size: 0.85rem;
        color: #1e293b;
    }

    .interest-counter strong {
        color: #3b82f6;
        font-size: 1.1rem;
    }

    .interest-counter i {
        color: #3b82f6;
    }


    .resource-cta {
        text-align: center;
        padding: 3rem 2rem;
        background: linear-gradient(135deg, rgba(29, 143, 189, 0.08), rgba(124, 58, 237, 0.08));
        border-radius: 12px;
        border: 2px solid rgba(29, 143, 189, 0.15);
    }

    .resource-cta p {
        font-size: 1rem;
        color: var(--navy-dark);
        margin: 0;
    }

    .resource-cta a {
        color: var(--primary-color);
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .resource-cta a:hover {
        color: var(--accent-gold);
        text-decoration: underline;
    }

    /* LATEST NEWS SECTION WITH MOTIVE LOGO */
    .latest-news-section {
        padding: 5rem 0;
        background: #ffffff;
        border-bottom: 2px solid #f0f4f8;
    }

    .latest-news-section .section-header {
        margin-bottom: 3rem;
    }

    .news-grid-home {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .news-card-home {
        background: #ffffff;
        padding: 2rem;
        border-radius: 12px;
        border-left: 5px solid var(--primary-color);
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 51, 102, 0.08);
    }

    .news-card-home:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 28px rgba(0, 51, 102, 0.15);
        border-left-color: var(--accent-gold);
    }

    .news-card-home h3 {
        color: var(--navy-dark);
        margin-bottom: 15px;
        text-align: left;
    }

    .news-card-home p {
        color: #666;
        text-align: left;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .read-more-link {
        color: var(--accent-gold);
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .read-more-link:hover {
        gap: 0.8rem;
        color: #ffd700;
        text-decoration: underline;
    }

    /* Motive Partner Section */
    .motive-partner-section {
        background: linear-gradient(135deg, #f8fafc, #e8eef7);
        padding: 3rem;
        border-radius: 12px;
        text-align: center;
        border: 1px solid #d4af37;
        margin-top: 2rem;
    }

    .motive-partner-section h3 {
        color: var(--navy-dark);
        margin-bottom: 2rem;
        font-size: 1.4rem;
        font-weight: 700;
    }

    .partner-logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 2rem;
    }

    .partner-logo-wrapper {
        background: white;
        padding: 1.5rem 2.5rem;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 51, 102, 0.1);
        border: 1px solid #e2e8f0;
    }

    .partner-logo {
        height: 70px;
        width: auto;
        object-fit: contain;
    }

    .motive-partner-section p {
        color: #555;
        font-size: 1rem;
        max-width: 600px;
        margin: 0 auto;
        font-weight: 500;
    }

    /* BLOG & INDUSTRY NEWS SECTION */
    .blog-news-section {
        padding: 5rem 0;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        border-top: 2px solid #f0f4f8;
        margin-top: 3rem;
    }

    .blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 2.5rem;
        margin-bottom: 4rem;
    }

    .blog-card {
        background: #ffffff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .blog-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
    }

    .blog-card.featured {
        grid-column: span 1;
    }

    @media (min-width: 1200px) {
        .blog-card.featured {
            grid-column: span 1;
        }
    }

    .blog-image {
        width: 100%;
        height: 220px;
        background-size: cover;
        background-position: center;
        position: relative;
        overflow: hidden;
    }

    .blog-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0);
        transition: all 0.3s ease;
    }

    .blog-card:hover .blog-image::after {
        background: rgba(0, 0, 0, 0.1);
    }

    .blog-content {
        padding: 2rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .blog-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
        font-size: 0.85rem;
    }

    .blog-date {
        color: #94a3b8;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .blog-category {
        background: linear-gradient(135deg, rgba(29, 143, 189, 0.1), rgba(29, 143, 189, 0.05));
        color: var(--primary-color);
        padding: 4px 12px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.8rem;
    }

    .blog-card h3 {
        font-size: 1.2rem;
        margin: 0 0 1rem 0;
        color: var(--navy-dark);
        line-height: 1.4;
        flex-grow: 1;
    }

    .blog-card p {
        color: #64748b;
        font-size: 0.95rem;
        line-height: 1.6;
        margin: 0 0 1.5rem 0;
        flex-grow: 1;
    }

    .read-more {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--primary-color);
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        width: fit-content;
    }

    .read-more:hover {
        color: var(--accent-gold);
        gap: 0.8rem;
    }

    .blog-cta {
        text-align: center;
        padding: 2rem;
        background: linear-gradient(135deg, rgba(29, 143, 189, 0.08), rgba(124, 58, 237, 0.08));
        border-radius: 12px;
        border: 2px solid rgba(29, 143, 189, 0.15);
    }

    .blog-cta .btn-lg {
        padding: 14px 32px;
        font-size: 1rem;
    }

    /* Blog Post Page Styling */
    .blog-post-page {
        padding: 60px 0;
        background: #ffffff;
    }

    .blog-posts-grid {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 3rem;
    }

    .blog-post-article {
        background: #ffffff;
        padding: 3rem;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
    }

    .blog-post-header {
        margin-bottom: 2rem;
    }

    .blog-post-header .blog-meta {
        margin-bottom: 1.5rem;
    }

    .blog-post-header h1 {
        font-size: 2.2rem;
        margin: 1rem 0;
        color: var(--navy-dark);
        line-height: 1.3;
    }

    .blog-post-header .featured-image {
        width: 100%;
        height: 400px;
        background-size: cover;
        background-position: center;
        border-radius: 10px;
        margin: 2rem 0;
    }

    .blog-post-body {
        font-family: var(--font-body);
        line-height: 1.8;
        color: #333;
    }

    .blog-post-body h2 {
        font-size: 1.6rem;
        margin: 2rem 0 1rem 0;
        color: var(--navy-dark);
    }

    .blog-post-body p {
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .blog-post-body ul,
    .blog-post-body ol {
        margin: 1.5rem 0;
        padding-left: 2rem;
    }

    .blog-post-body li {
        margin-bottom: 0.8rem;
        color: #333;
    }

    .blog-sidebar {
        position: sticky;
        top: 100px;
        height: fit-content;
    }

    .sidebar-widget {
        background: #f8fafc;
        padding: 2rem;
        border-radius: 10px;
        margin-bottom: 2rem;
    }

    .sidebar-widget h3 {
        font-size: 1.1rem;
        margin: 0 0 1.5rem 0;
        color: var(--navy-dark);
    }

    .sidebar-widget ul {
        list-style: none;
        padding: 0;
    }

    .sidebar-widget li {
        margin-bottom: 1rem;
    }

    .sidebar-widget a {
        color: var(--primary-color);
        text-decoration: none;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

    .sidebar-widget a:hover {
        color: var(--accent-gold);
        margin-left: 0.4rem;
    }

    .blog-navigation {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 1px solid #e2e8f0;
    }

    .blog-nav-item {
        text-decoration: none;
        padding: 1.5rem;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .blog-nav-item:hover {
        background: #f8fafc;
        border-color: var(--primary-color);
    }

    .blog-nav-item.prev::before {
        content: '← ';
    }

    .blog-nav-item.next::after {
        content: ' →';
    }

    .blog-nav-label {
        font-size: 0.85rem;
        color: #94a3b8;
        display: block;
        margin-bottom: 0.5rem;
    }

    .blog-nav-title {
        color: var(--navy-dark);
        font-weight: 700;
        font-size: 0.95rem;
    }

    /* INTEGRATION SHOWCASE SECTION */
    .integration-showcase-section {
        padding: 100px 0;
        background: linear-gradient(135deg, #f0f4f8 0%, #f8fafc 100%);
    }

    .integrations-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
        margin-bottom: 4rem;
    }

    .integration-card {
        background: #ffffff;
        padding: 2.5rem;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        transition: all 0.3s ease;
        border-top: 4px solid var(--primary-color);
        position: relative;
        overflow: hidden;
    }

    .integration-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(29, 143, 189, 0.02));
        pointer-events: none;
    }

    .integration-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    }

    .integration-card.motive {
        border-top-color: #1f2937;
    }

    .integration-card.route-opt {
        border-top-color: #ea580c;
    }

    .integration-card.tms {
        border-top-color: #0891b2;
    }

    .integration-card.compliance {
        border-top-color: #dc2626;
    }

    .integration-card.analytics {
        border-top-color: #7c3aed;
    }

    .integration-card.dispatch {
        border-top-color: #2563eb;
    }

    .integration-header {
        position: relative;
        z-index: 1;
        margin-bottom: 1.5rem;
    }

    .integration-icon {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, rgba(0, 51, 102, 0.15), rgba(0, 51, 102, 0.08));
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.2rem;
        color: #003366;
        margin-bottom: 1.5rem;
    }

    .integration-card.route-opt .integration-icon {
        background: linear-gradient(135deg, rgba(234, 88, 12, 0.1), rgba(234, 88, 12, 0.05));
        color: #ea580c;
    }

    .integration-card.tms .integration-icon {
        background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(8, 145, 178, 0.05));
        color: #0891b2;
    }

    .integration-card.compliance .integration-icon {
        background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(220, 38, 38, 0.05));
        color: #dc2626;
    }

    .integration-card.analytics .integration-icon {
        background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.05));
        color: #7c3aed;
    }

    .integration-card.dispatch .integration-icon {
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
        color: #2563eb;
    }

    .integration-card h3 {
        font-size: 1.2rem;
        margin: 0 0 0.5rem 0;
        color: var(--navy-dark);
    }

    .integration-status {
        display: inline-block;
        background: linear-gradient(135deg, var(--primary-color), #0d7ba0);
        color: #ffffff;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-top: 0.5rem;
    }

    .integration-description {
        position: relative;
        z-index: 1;
        color: #64748b;
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .integration-features {
        position: relative;
        z-index: 1;
    }

    .integration-features h4 {
        font-size: 0.9rem;
        color: var(--navy-dark);
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 700;
    }

    .integration-features ul {
        list-style: none;
        padding: 0;
    }

    .integration-features li {
        display: flex;
        align-items: flex-start;
        gap: 0.7rem;
        margin-bottom: 0.8rem;
        color: #475569;
        font-size: 0.9rem;
    }

    .integration-features i {
        color: #22c55e;
        margin-top: 0.2rem;
        flex-shrink: 0;
        font-weight: 700;
    }

    .integration-cta {
        text-align: center;
        padding: 4rem 3rem;
        background: linear-gradient(135deg, var(--navy-dark), #1e3a8a);
        border-radius: 12px;
        color: #ffffff;
        position: relative;
        overflow: hidden;
    }

    .integration-cta::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent);
        border-radius: 50%;
    }

    .integration-cta::after {
        content: '';
        position: absolute;
        bottom: -50%;
        left: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent);
        border-radius: 50%;
    }

    .integration-cta h3 {
        position: relative;
        z-index: 1;
        font-size: 1.8rem;
        margin: 0 0 1rem 0;
        color: #ffffff;
    }

    .integration-cta p {
        position: relative;
        z-index: 1;
        color: rgba(255, 255, 255, 0.9);
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Coming Soon Integration Card */
    .integration-card.coming-soon {
        opacity: 0.65;
        position: relative;
    }

    .integration-card.coming-soon::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.05));
        border-radius: 12px;
        z-index: 0;
    }

    .integration-card.coming-soon>* {
        position: relative;
        z-index: 1;
    }

    .integration-cta .btn {
        position: relative;
        z-index: 1;
    }

    /* QUOTE CALCULATOR SECTION */
    .quote-calculator-section {
        padding: 100px 0;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    }

    .calculator-wrapper {
        background: #ffffff;
        border-radius: 16px;
        padding: 4rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid #e2e8f0;
    }

    .calculator-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .calculator-header h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .calculator-header p {
        color: #64748b;
        font-size: 1.05rem;
    }

    .calculator-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .calculator-form {
        background: #f8fafc;
        padding: 2.5rem;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        display: block;
        font-weight: 600;
        color: var(--navy-dark);
        margin-bottom: 0.7rem;
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 12px 14px;
        border: 2px solid #cbd5e1;
        border-radius: 8px;
        font-size: 0.95rem;
        font-family: var(--font-body);
        transition: all 0.3s ease;
        color: #333;
    }

    .form-group input:focus,
    .form-group select:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(29, 143, 189, 0.1);
    }

    .form-group input::placeholder {
        color: #cbd5e1;
    }

    .input-hint {
        display: block;
        font-size: 0.8rem;
        color: #94a3b8;
        margin-top: 0.4rem;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .form-group.full {
        grid-column: span 2;
    }

    /* Contact Form Styles */
    .contact-form-widget {
        background: white;
        padding: 2rem;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
        border: 1px solid rgba(212, 175, 55, 0.1);
        margin-top: 1.5rem;
    }

    .contact-form-widget .form-group {
        margin-bottom: 1.5rem;
    }

    .contact-form-widget .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: #003366;
        font-size: 0.95rem;
    }

    .contact-form-widget .form-group input,
    .contact-form-widget .form-group textarea {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 2px solid #e8eef5;
        border-radius: 8px;
        font-family: inherit;
        font-size: 1rem;
        transition: all 0.3s ease;
        background-color: #f8f9fa;
    }

    .contact-form-widget .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

    .contact-form-widget .form-group input:focus,
    .contact-form-widget .form-group textarea:focus {
        outline: none;
        background-color: white;
        border-color: #d4af37;
        box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    }

    .contact-form-widget .form-group input::placeholder,
    .contact-form-widget .form-group textarea::placeholder {
        color: #cbd5e1;
    }

    .contact-form-widget .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .contact-form-widget .form-row .form-group {
        margin-bottom: 0;
    }

    #contact-message-box {
        border-radius: 8px;
        border-left: 4px solid #d4af37;
    }

    #contact-message-box.success {
        background-color: #f0fdf4;
        color: #166534;
        border-left-color: #22c55e;
    }

    #contact-message-box.error {
        background-color: #fef2f2;
        color: #991b1b;
        border-left-color: #ef4444;
    }

    .calculator-note {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.02));
        border-left: 4px solid #3b82f6;
        padding: 1rem;
        border-radius: 8px;
        display: flex;
        gap: 0.8rem;
        margin-bottom: 2rem;
        font-size: 0.9rem;
        color: #1e40af;
    }

    .calculator-note i {
        font-size: 1.2rem;
        flex-shrink: 0;
        margin-top: 0.2rem;
    }

    #calculateBtn {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }

    .calculator-results {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .results-empty {
        text-align: center;
        padding: 2rem;
    }

    .empty-icon {
        font-size: 3.5rem;
        color: #cbd5e1;
        margin-bottom: 1rem;
    }

    .results-empty h4 {
        font-size: 1.3rem;
        color: var(--navy-dark);
        margin-bottom: 0.5rem;
    }

    .results-empty p {
        color: #94a3b8;
    }

    .results-card {
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        padding: 2rem;
        width: 100%;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }

    .results-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .results-header h3 {
        font-size: 1.3rem;
        color: var(--navy-dark);
        margin: 0;
    }

    .results-timestamp {
        font-size: 0.8rem;
        color: #94a3b8;
        background: #f1f5f9;
        padding: 4px 12px;
        border-radius: 20px;
    }

    .results-breakdown {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .breakdown-item {
        background: #ffffff;
        padding: 1rem;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .breakdown-label {
        color: #64748b;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .breakdown-value {
        color: var(--navy-dark);
        font-weight: 700;
        font-size: 0.95rem;
    }

    .results-divider {
        height: 1px;
        background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
        margin: 1.5rem 0;
    }

    .pricing-breakdown {
        margin-bottom: 1.5rem;
    }

    .price-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 0;
        border-bottom: 1px solid #f1f5f9;
        font-size: 0.95rem;
    }

    .price-item:last-child {
        border-bottom: none;
    }

    .price-item span:first-child {
        color: #64748b;
        font-weight: 500;
    }

    .price-item span:last-child {
        color: var(--navy-dark);
        font-weight: 600;
    }

    .price-item.total {
        padding: 1rem 0;
        border-top: 2px solid #cbd5e1;
        border-bottom: 2px solid #cbd5e1;
        font-size: 1.2rem;
    }

    .price-item.total span:first-child {
        color: var(--navy-dark);
        font-weight: 700;
    }

    .price-item.total span:last-child {
        color: var(--accent-gold);
        font-size: 1.5rem;
    }

    .results-footer {
        text-align: center;
    }

    .disclaimer {
        font-size: 0.8rem;
        color: #94a3b8;
        margin-bottom: 1rem;
        font-style: italic;
    }

    .results-footer .btn {
        margin-top: 1rem;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .story-content {
            grid-template-columns: 1fr;
        }

        .story-highlights {
            grid-template-columns: 1fr;
        }

        .story-text h2 {
            font-size: 2rem;
        }

        /* Trust badges responsive */
        .trust-badges-bar {
            padding: 0.8rem 0;
        }

        .trust-badges-group {
            gap: 1.5rem;
        }

        .trust-badge {
            font-size: 0.8rem;
        }

        .footer-badges {
            grid-template-columns: 1fr;
        }

        .footer-trust-section {
            padding: 1.5rem;
        }

        /* Resource library responsive */
        .tab-buttons {
            flex-direction: column;
        }

        .tab-btn {
            width: 100%;
        }

        .resources-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .resource-library-section {
            padding: 60px 0;
        }

        .resource-cta {
            padding: 2rem 1.5rem;
        }

        /* Blog responsive */
        .blog-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .blog-posts-grid {
            grid-template-columns: 1fr;
        }

        .blog-sidebar {
            position: relative;
            top: 0;
        }

        .blog-post-article {
            padding: 1.5rem;
        }

        .blog-post-header h1 {
            font-size: 1.8rem;
        }

        .blog-post-header .featured-image {
            height: 300px;
        }

        .blog-navigation {
            grid-template-columns: 1fr;
        }

        /* Integration showcase responsive */
        .integrations-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .integration-card {
            padding: 1.5rem;
        }

        .integration-icon {
            width: 50px;
            height: 50px;
            font-size: 1.5rem;
        }

        .integration-card h3 {
            font-size: 1rem;
        }

        .integration-cta {
            padding: 2rem 1.5rem;
        }

        .integration-cta h3 {
            font-size: 1.4rem;
        }

        /* Quote calculator responsive */
        .calculator-wrapper {
            padding: 2rem 1.5rem;
        }

        .calculator-layout {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .calculator-form {
            padding: 1.5rem;
        }

        .form-row {
            grid-template-columns: 1fr;
        }

        .form-group.full {
            grid-column: span 1;
        }

        .results-breakdown {
            grid-template-columns: 1fr;
        }

        .calculator-header h2 {
            font-size: 1.6rem;
        }
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        h1 {
            font-size: 2.2rem;
        }

        h2 {
            font-size: 1.8rem;
        }

        .hero-header h1,
        .services-header h1,
        .page-hero h1 {
            font-size: 2.2rem;
        }
    }

    @media (max-width: 768px) {
        h1 {
            font-size: 1.8rem;
        }

        h2 {
            font-size: 1.5rem;
        }

        .hero-header h1,
        .services-header h1,
        .page-hero h1 {
            font-size: 1.8rem;
        }

        .hero-header p,
        .services-header p,
        .page-hero p {
            font-size: 1rem;
        }

        .error-page h1 {
            font-size: 4rem;
        }

        /* Mobile header layout fixes */
        .header-container {
            flex-direction: row;
            gap: 1rem;
            justify-content: space-between;
        }

        .header-center {
            flex-direction: column;
            flex: none;
            justify-content: flex-start;
            display: none;
        }

        .nav-list {
            flex-direction: column;
            gap: 0.8rem;
        }

        .header-meta {
            flex-direction: column;
            gap: 0.5rem;
            margin-left: 0;
            justify-content: center;
            display: none;
        }

        .top-links {
            flex-direction: column;
            gap: 0.8rem;
        }

        /* Mobile news grid improvements */
        .news-grid-home {
            grid-template-columns: 1fr;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .news-card-home {
            padding: 1.5rem;
        }

        /* Mobile motive section */
        .motive-partner-section {
            padding: 1.5rem;
            margin-top: 1.5rem;
        }

        .partner-logo {
            height: 50px;
        }

        /* Mobile blog grid */
        .blog-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
    }

    @media (max-width: 480px) {
        h1 {
            font-size: 1.5rem;
        }

        h2 {
            font-size: 1.3rem;
        }

        .btn {
            padding: 10px 18px;
            font-size: 0.75rem;
        }

        .error-page h1 {
            font-size: 3rem;
        }

        /* Mobile: Reduce padding for small screens */
        .latest-news-section {
            padding: 2rem 0;
        }

        .news-card-home {
            padding: 1rem;
        }

        .motive-partner-section {
            padding: 1rem;
            margin-top: 1rem;
        }

        .blog-news-section {
            padding: 2rem 0;
        }

        .partner-logo-wrapper {
            padding: 1rem 1.5rem;
        }
    }
}

/* Shape Divider - Gentle Wave (More Organic & Premium) */
.custom-shape-divider-bottom-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 9;
}

.custom-shape-divider-bottom-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 90px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-wave .shape-fill {
    fill: #f8f9fa;
    /* Matches the section below */
}

/* Dark Mode Variation for dividers transitioning to Dark Blue */
.custom-shape-divider-bottom-wave.to-dark .shape-fill {
    fill: #0f172a;
    /* Dark Navy Color */
}

/* White Variation for dividers transitioning to White */
.custom-shape-divider-bottom-wave.to-white .shape-fill {
    fill: #ffffff;
}

@media (max-width: 768px) {
    .custom-shape-divider-bottom-wave svg {
        height: 50px;
    }
}

/* --- Section Divider Utilities --- */
/* To use this on a section, add 'position: relative' to the section ABOVE the divider. */
/* The divider element should be the LAST child of that section. */
/* Change the fill color class (.to-white, .to-dark) to match the NEXT section's background. */


/* Ensure sections with dividers have enough padding at the bottom so content isn't covered by the wave */
/* Ensure sections with dividers have enough padding at the bottom so content isn't covered by the wave */
.section-with-divider {
    padding-bottom: 90px !important;
    /* Adjusted for 90px wave */
    position: relative;
    /* overflow: visible; Removed to prevent horizontal scroll issues, use z-index wisely */
}

/* --- OVERHAUL UTILITIES --- */
/* Enforce Alternating Backgrounds */
.bg-white {
    background-color: #ffffff !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-dark {
    background-color: #0f172a !important;
    color: #ffffff !important;
}

/* Metrics Grid - Perfectly Centered & Spaced */
.metrics-new-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 3rem auto 0;
    align-items: flex-start;
    justify-content: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 3rem;
}

.metric-item-new {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Clean border */
}

.metric-item-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-gold);
}

.metric-value-new {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.metric-label-new {
    font-size: 1.1rem;
    color: var(--navy-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.metric-desc-new {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

@media(max-width: 768px) {
    .metrics-new-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- NEW UTILITIES FOR REWRITE --- */

/* Card Header Layout (Title Left, Badge Right) */
.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-header-flex h3 {
    margin: 0;
    text-align: left;
    font-size: 1.25rem;
}

.card-header-flex .small-badge {
    font-size: 1.2rem;
    color: var(--primary-color);
    background: rgba(29, 143, 189, 0.1);
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Coming Soon Container (Visibility Section) */
.coming-soon-container {
    position: relative;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    /* Dashed border for prototype feel */
    border-radius: 12px;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.6);
    /* Semi-transparent dark bg */
    overflow: hidden;
}

.coming-soon-overlay-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
}

.visibility-text-high-contrast {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.visibility-subtext {
    color: #cbd5e1 !important;
    /* Lighter gray for dark background */
    font-size: 1.1rem;
}

/* --- ADMIN & LOGIN STYLES --- */
.login-container {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    border-top: 5px solid var(--accent-gold);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header .login-logo {
    max-height: 80px;
    margin-bottom: 1rem;
}

.login-header h1 {
    font-size: 1.5rem;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #64748b;
    font-size: 0.9rem;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #f1f5f9;
}

.admin-sidebar {
    width: 260px;
    background: var(--navy-dark);
    color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.admin-sidebar-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-nav-item {
    padding: 12px 15px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
    transform: translateX(5px);
}

.admin-main {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border-left: 4px solid var(--primary-color);
}

.stat-card.gold {
    border-left-color: var(--accent-gold);
}

.stat-card.red {
    border-left-color: #ef4444;
}

.stat-card.green {
    border-left-color: #22c55e;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 5px 0;
}

.stat-label {
    color: #64748b;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* To-Do List Styles */
.todo-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.todo-list {
    list-style: none;
    padding: 0;
}

.todo-item {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.todo-item:hover {
    transform: translateX(3px);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.todo-item.completed {
    opacity: 0.6;
    text-decoration: line-through;
    background: #f1f5f9;
}

.todo-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-urgent {
    background: #fee2e2;
    color: #991b1b;
}

.badge-normal {
    background: #e0f2fe;
    color: #075985;
}

@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        padding: 1rem;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* === Partner Logo Sizing === */
.partner-logo-link img {
    height: 35px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-logo-link:hover img {
    transform: scale(1.1);
}

.footer-partners-grid {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 10px;
}

.motive-logo {
    height: 30px;
    width: auto;
}

/* === Fancy Footer CTA Divider (Refactored from Inline) === */
.cta-footer-gap {
    background: linear-gradient(135deg, white 0%, #f8fafc 100%);
    padding: 4rem 0 6rem;
    position: relative;
    text-align: center;
    margin-top: 50px;
}

.cta-card-fancy {
    /* Lighter Gradient: using primary brand blue instead of midnight navy */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--navy-light) 100%);
    color: white;
    border-radius: 20px;
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.25);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-card-fancy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-gold), #b45309);
    z-index: 2;
}

.cta-card-fancy::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.cta-card-fancy h2,
.cta-card-fancy p {
    position: relative;
    z-index: 3;
    color: white !important;
}

/* === FAQ Specific Styles (Global) === */
.faq-group {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
    border-top: 4px solid var(--accent-gold);
}

.faq-category-header {
    padding: 1.5rem 2rem;
    background: #fdfdfd;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-group-icon {
    width: 36px;
    height: 36px;
    background: #f0f9ff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

details.faq-toggle {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

details.faq-toggle:last-child {
    border-bottom: none;
}

details.faq-toggle:hover {
    background: #f8fbfe;
}

summary.faq-summary {
    list-style: none;
    padding: 1.5rem 2rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--navy-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
}

summary.faq-summary::-webkit-details-marker {
    display: none;
}

.summary-chevron {
    color: #ccc;
    transition: transform 0.3s ease;
}

details[open] .summary-chevron {
    transform: rotate(180deg);
    color: var(--accent-gold);
}

.faq-answer-box {
    padding: 0 2rem 1.5rem 2rem;
    color: #555;
    line-height: 1.6;
}

details[open] .faq-answer-box {
    animation: fadeIn 0.4s ease;
}