/* P33.ai Dark Theme Styles */

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

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0a0a0a;
    font-size: 16px;
    font-weight: 400;
}
html {
    scroll-behavior: smooth;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
nav {
    background: #1a1a1a;
    border-bottom: 1px solid #333333;
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    background: #0f0f0f;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: #bd2f2d;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-img:hover {
    opacity: 0.8;
}

/* Mobile Menu Toggle - Hidden by default (desktop) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #e0e0e0;
    cursor: pointer;
    padding: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

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

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-toggle:hover {
    color: #bd2f2d;
}

.dropdown-toggle.active {
    color: #bd2f2d;
    font-weight: 500;
}

.dropdown-toggle::after {
    content: "▼";
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #2a2a2a;
    min-width: 250px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid #444444;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #333333;
    font-size: 14px;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #333333;
    color: #bd2f2d;
    padding-left: 24px;
}

.dropdown-menu a.active {
    background: #333333;
    color: #bd2f2d;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    background: #1a1a1a;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section.full-height {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: rgba(189, 47, 45, 0.08);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.breadcrumb {
    color: #b0b0b0;
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.1s forwards;
}

.breadcrumb a {
    color: #bd2f2d;
    text-decoration: none;
}

.hero-tag {
    color: #bd2f2d;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-title strong {
    font-weight: 600;
    color: #bd2f2d;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #b0b0b0;
    line-height: 1.5;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    background: #bd2f2d;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-cta:hover {
    background: #a02725;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(189, 47, 45, 0.3);
}

.hero-cta::after {
    content: "→";
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.hero-cta:hover::after {
    transform: translateX(4px);
}

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

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    color: #bd2f2d;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-title strong {
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #b0b0b0;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Card Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

/* Card Styles */
.card {
    background: #1f1f1f;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #333333;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}
.card:nth-child(2) {
    animation-delay: 0.2s;
}
.card:nth-child(3) {
    animation-delay: 0.3s;
}
.card:nth-child(4) {
    animation-delay: 0.4s;
}
.card:nth-child(5) {
    animation-delay: 0.5s;
}
.card:nth-child(6) {
    animation-delay: 0.6s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(189, 47, 45, 0.2);
    border-color: #bd2f2d;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #bd2f2d;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.card-description {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.card-list li {
    color: #b0b0b0;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.card-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #bd2f2d;
    font-weight: bold;
}

.card-list.checkmarks li::before {
    content: "✓";
}

/* Special Card Variants */
.card-primary {
    background: #2a2a2a;
    text-align: center;
}

.card-dark {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.card-grey {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
}

.card-dark .card-title,
.card-grey .card-title {
    color: white;
}

.card-dark .card-description,
.card-grey .card-description {
    opacity: 0.9;
}

.card-dark .card-list li,
.card-grey .card-list li {
    opacity: 0.9;
}

/* Numbered Cards */
.card-numbered .card-icon {
    border-radius: 50%;
    font-size: 32px;
    font-weight: 300;
    width: 80px;
    height: 80px;
    line-height: 80px;
}

.card-numbered:hover .card-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(189, 47, 45, 0.3);
}

/* Background Variants */
.bg-white {
    background: #0a0a0a;
}

.bg-light {
    background: #1a1a1a;
}

.bg-grey {
    background: #2a2a2a;
    color: white;
}

.bg-dark {
    background: #000000;
    color: white;
}

.bg-black {
    background: #0f0f0f;
    color: white;
}

.bg-dark .section-tag,
.bg-grey .section-tag,
.bg-black .section-tag {
    color: #bd2f2d;
}

.bg-dark .section-title,
.bg-grey .section-title,
.bg-black .section-title {
    color: white;
}

.bg-dark .section-subtitle,
.bg-grey .section-subtitle,
.bg-black .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.bg-dark .card-description,
.bg-grey .card-description,
.bg-black .card-description {
    color: rgba(255, 255, 255, 0.9);
}

.bg-dark .card-list li,
.bg-grey .card-list li,
.bg-black .card-list li {
    color: rgba(255, 255, 255, 0.9);
}

.bg-dark .impact-box,
.bg-grey .impact-box,
.bg-black .impact-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px;
    border-left: 4px solid #bd2f2d;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.bg-dark .impact-box strong,
.bg-grey .impact-box strong,
.bg-black .impact-box strong {
    color: #bd2f2d;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(189, 47, 45, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(189, 47, 45, 0.2);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}
.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}
.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}
.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-number {
    font-size: 3rem;
    font-weight: 300;
    color: #bd2f2d;
    margin-bottom: 16px;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
}

.stat-description {
    font-size: 14px;
    color: #b0b0b0;
}

/* Highlight Boxes */
.highlight-box {
    background: rgba(189, 47, 45, 0.1);
    border: 1px solid rgba(189, 47, 45, 0.3);
    border-radius: 12px;
    padding: 40px;
    margin: 40px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.highlight-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.highlight-text {
    font-size: 16px;
    line-height: 1.6;
    color: #b0b0b0;
}

/* Highlight box on dark backgrounds */
.bg-dark .highlight-box,
.bg-grey .highlight-box,
.bg-black .highlight-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.bg-dark .highlight-title,
.bg-grey .highlight-title,
.bg-black .highlight-title {
    color: white;
}

.bg-dark .highlight-text,
.bg-grey .highlight-text,
.bg-black .highlight-text {
    color: rgba(255, 255, 255, 0.9);
}

/* Impact Boxes */
.impact-box {
    background: rgba(189, 47, 45, 0.1);
    border-radius: 8px;
    padding: 16px;
    border-left: 4px solid #bd2f2d;
    margin-top: 16px;
}

.impact-box strong {
    color: #bd2f2d;
}

/* CTA Section */
.cta-section {
    background: #000000;
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="rgba(189,47,45,0.3)"><animate attributeName="r" values="1;3;1" dur="4s" repeatCount="indefinite"/></circle><circle cx="90" cy="20" r="1.5" fill="rgba(189,47,45,0.2)"><animate attributeName="r" values="1.5;2.5;1.5" dur="5s" repeatCount="indefinite"/></circle><circle cx="20" cy="80" r="1.2" fill="rgba(189,47,45,0.4)"><animate attributeName="r" values="1.2;2;1.2" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="90" r="0.8" fill="rgba(189,47,45,0.3)"><animate attributeName="r" values="0.8;1.8;0.8" dur="6s" repeatCount="indefinite"/></circle></svg>');
    background-size: 200px 200px;
    opacity: 0.6;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 24px;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: #bd2f2d;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #a02725;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(189, 47, 45, 0.4);
}

.cta-button::after {
    content: "→";
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.cta-button:hover::after {
    transform: translateX(4px);
}

/* Footer */
.footer-section {
    background: #0a0a0a;
    color: white;
    padding: 60px 0 30px;
    border-top: 1px solid #333333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 600;
    color: #bd2f2d;
    margin-bottom: 16px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #bd2f2d;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.footer-column h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #bd2f2d;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #bd2f2d;
}

/* Page-specific Trading Operations Styles */
.trading-hero {
    background: #0a0a0a;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px;
}

.trading-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,20 Q20,10 40,20 T80,15 L100,10 L100,100 L0,100 Z" fill="rgba(189,47,45,0.1)"/></svg>');
    background-size: cover;
}

/* Dark/Blue/Grey hero text overrides - applies to any dark hero section */
.trading-hero .hero-title,
.compliance-hero .hero-title,
.bg-dark .hero-title,
.bg-grey .hero-title,
.bg-black .hero-title {
    color: white;
}

.trading-hero .hero-subtitle,
.compliance-hero .hero-subtitle,
.bg-dark .hero-subtitle,
.bg-grey .hero-subtitle,
.bg-black .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.trading-hero .hero-tag,
.compliance-hero .hero-tag,
.bg-dark .hero-tag,
.bg-grey .hero-tag,
.bg-black .hero-tag {
    color: #bd2f2d;
}

.trading-hero .breadcrumb,
.compliance-hero .breadcrumb,
.bg-dark .breadcrumb,
.bg-grey .breadcrumb,
.bg-black .breadcrumb {
    color: rgba(255, 255, 255, 0.8);
}

.trading-hero .breadcrumb a,
.compliance-hero .breadcrumb a,
.bg-dark .breadcrumb a,
.bg-grey .breadcrumb a,
.bg-black .breadcrumb a {
    color: #bd2f2d;
    text-decoration: underline;
}

/* Universal override for ANY hero section with dark inline styles */
.hero-section[style*="background: linear-gradient"] .hero-title {
    color: white !important;
}

.hero-section[style*="background: linear-gradient"] .hero-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-section[style*="background: linear-gradient"] .hero-tag {
    color: #bd2f2d !important;
    text-decoration: underline;
}

/* Extra safety - target any text in breadcrumbs on red backgrounds */
.hero-section[style*="#bd2f2d"] .breadcrumb *,
.hero-section[style*="#a02725"] .breadcrumb *,
.hero-section[style*="#8b0e36"] .breadcrumb * {
    color: rgba(255, 255, 255, 0.9) !important;
}

.market-ticker {
    background: rgba(0, 0, 0, 0.9);
    color: #00ff88;
    padding: 12px 0;
    font-family: "Courier New", monospace;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
}

.ticker-content {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.workflow-timeline {
    position: relative;
    padding: 60px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 60px;
    bottom: 60px;
    width: 4px;
    background: #bd2f2d;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-content {
    flex: 1;
    max-width: 450px;
    margin: 0 50px;
    background: #1f1f1f;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid #333333;
}

.timeline-node {
    width: 80px;
    height: 80px;
    background: #bd2f2d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(189, 47, 45, 0.3);
    z-index: 2;
    position: relative;
    flex-shrink: 0;
}

.timeline-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.timeline-time {
    font-size: 12px;
    color: #bd2f2d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.performance-dashboard {
    background: rgba(189, 47, 45, 0.1);
    border-radius: 12px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid rgba(189, 47, 45, 0.2);
}

.dashboard-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.metric-card {
    background: #1f1f1f;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid #bd2f2d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 300;
    color: #bd2f2d;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.metric-description {
    font-size: 12px;
    color: #b0b0b0;
}

.execution-venues {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.venue-card {
    background: #1f1f1f;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.venue-card:hover {
    border-color: #bd2f2d;
    box-shadow: 0 4px 15px rgba(189, 47, 45, 0.1);
}

.venue-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.venue-stats {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #b0b0b0;
}

/* Page-specific Regulatory Compliance Styles */
.compliance-hero {
    background: #1a1a1a;
    position: relative;
    padding: 140px 0 80px;
}

.compliance-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L20,0 L20,20 L0,20 Z M30,0 L50,0 L50,20 L30,20 Z M60,0 L80,0 L80,20 L60,20 Z M10,30 L30,30 L30,50 L10,50 Z M40,30 L60,30 L60,50 L40,50 Z M70,30 L90,30 L90,50 L70,50 Z" fill="rgba(189,47,45,0.05)"/></svg>');
    background-size: 50px 50px;
}

.regulatory-framework {
    background: #1f1f1f;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid #333333;
    margin: 40px 0;
}

.framework-header {
    text-align: center;
    margin-bottom: 40px;
}

.jurisdiction-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #333333;
}

.tab-button {
    padding: 12px 24px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #b0b0b0;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: #bd2f2d;
    border-bottom-color: #bd2f2d;
}

.tab-button:hover {
    color: #bd2f2d;
}

.compliance-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.compliance-item {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #bd2f2d;
}

.compliance-regulation {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.compliance-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
}

.status-compliant {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.status-monitoring {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-updating {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
}

.compliance-details {
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.4;
}

.regulatory-calendar {
    background: #1f1f1f;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #333333;
}

.calendar-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #333333;
    border-radius: 8px;
    overflow: hidden;
}

.calendar-day {
    background: #1f1f1f;
    padding: 12px 8px;
    min-height: 60px;
    font-size: 14px;
    position: relative;
    color: #e0e0e0;
}

.calendar-day.has-event {
    background: rgba(189, 47, 45, 0.1);
}

.calendar-event {
    width: 6px;
    height: 6px;
    background: #bd2f2d;
    border-radius: 50%;
    position: absolute;
    bottom: 8px;
    right: 8px;
}

.penalty-tracker {
    background: rgba(189, 47, 45, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.penalty-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.penalty-stat {
    text-align: center;
    padding: 20px;
    background: #1f1f1f;
    border-radius: 8px;
    border: 1px solid rgba(189, 47, 45, 0.2);
}

.penalty-amount {
    font-size: 2rem;
    font-weight: 300;
    color: #bd2f2d;
    margin-bottom: 8px;
}

.penalty-label {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 4px;
}

.penalty-period {
    font-size: 12px;
    color: #b0b0b0;
}

/* UPDATED Job Listings Styles - Simplified Cards */
.jobs-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 60px;
}

.job-card {
    background: #1f1f1f;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #333333;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    cursor: pointer;
    padding: 0;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(189, 47, 45, 0.2);
    border-color: #bd2f2d;
}

.job-header {
    padding: 30px 30px 20px 30px;
    border-bottom: none;
    margin-bottom: 0;
}

.job-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.job-type,
.job-location {
    background: #bd2f2d;
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-location {
    background: #333333;
    color: #e0e0e0;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.job-salary {
    font-size: 1rem;
    color: #bd2f2d;
    font-weight: 500;
}

.job-content {
    margin-bottom: 25px;
}

.job-section {
    margin-bottom: 25px;
}

.job-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.job-section p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 16px;
}

.job-requirements {
    list-style: none;
    padding: 0;
}

.job-requirements li {
    color: #e0e0e0;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 15px;
    line-height: 1.5;
}

.job-requirements li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #bd2f2d;
    font-weight: bold;
    font-size: 16px;
}

.job-footer {
    padding: 20px 30px;
    border-top: 1px solid #333333;
    background: rgba(189, 47, 45, 0.05);
    margin: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    display: flex;
    justify-content: flex-end;
}

.apply-button {
    background: #bd2f2d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apply-button:hover {
    background: #a02725;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(189, 47, 45, 0.4);
}

.view-details {
    color: #bd2f2d;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

.job-card:hover .view-details {
    color: #ffffff;
}

.no-jobs {
    text-align: center;
    margin-top: 60px;
}

.no-jobs .card {
    max-width: 600px;
    margin: 0 auto;
}

/* Sidebar Styles */
.job-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.job-info-card,
.apply-card {
    background: #1f1f1f;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.job-info-card:hover,
.apply-card:hover {
    border-color: #bd2f2d;
    box-shadow: 0 8px 30px rgba(189, 47, 45, 0.2);
}

.job-info-card h3,
.apply-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    border-bottom: 1px solid #333333;
    padding-bottom: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #2a2a2a;
    font-size: 14px;
    color: #e0e0e0;
}

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

.info-item strong {
    color: #bd2f2d;
    font-weight: 600;
    min-width: 80px;
}

.info-item span:last-child {
    color: #e0e0e0;
    text-align: right;
}

.apply-card p {
    color: #e0e0e0;
    margin-bottom: 25px;
    line-height: 1.5;
}

.apply-button.primary {
    background: #bd2f2d;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.apply-button.primary:hover {
    background: #a02725;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(189, 47, 45, 0.4);
}

/* Breadcrumb Styles for Job Details */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #bd2f2d;
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #1f1f1f;
    border-radius: 12px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid #333333;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid #333333;
    background: #000000;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.modal-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    font-size: 28px;
    cursor: pointer;
    color: #ffffff;
    transition: color 0.3s ease;
    padding: 5px;
    line-height: 1;
}

.close:hover {
    color: #bd2f2d;
}

.application-form {
    padding: 30px;
    background: #000000;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ffffff;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #333333;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    background: #2a2a2a;
    color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #bd2f2d;
    outline: none;
    box-shadow: 0 0 0 3px rgba(189, 47, 45, 0.1);
}

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

.form-group small {
    display: block;
    margin-top: 6px;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.4;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0 0;
    flex-shrink: 0;
    accent-color: #bd2f2d;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    border-top: 1px solid #333333;
    padding-top: 30px;
    margin-top: 40px;
}

.button {
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.button.primary {
    background: #bd2f2d;
    color: white;
    border-color: #bd2f2d;
}

.button.primary:hover {
    background: #a02725;
    border-color: #a02725;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(189, 47, 45, 0.3);
}

.button.secondary {
    background: transparent;
    color: #b0b0b0;
    border-color: #333333;
}

.button.secondary:hover {
    background: #333333;
    color: #ffffff;
    border-color: #555555;
}

/* File input styling */
.form-group input[type="file"] {
    background: #000000;
    border: 2px dashed #555555;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group input[type="file"]:hover {
    border-color: #bd2f2d;
    background: rgba(189, 47, 45, 0.1);
}

/* Team Grid Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    background: #1f1f1f;
    border-radius: 12px;
    padding: 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #333333;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.team-member:nth-child(1) {
    animation-delay: 0.1s;
}
.team-member:nth-child(2) {
    animation-delay: 0.2s;
}
.team-member:nth-child(3) {
    animation-delay: 0.3s;
}
.team-member:nth-child(4) {
    animation-delay: 0.4s;
}
.team-member:nth-child(5) {
    animation-delay: 0.5s;
}
.team-member:nth-child(6) {
    animation-delay: 0.6s;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(189, 47, 45, 0.2);
    border-color: #bd2f2d;
}

.team-photo {
    width: 100%;
    height: 300px;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    transition: all 0.3s ease;
    position: relative;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.team-member:hover .team-photo {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(189, 47, 45, 0.3);
}

.team-member:hover .team-photo img {
    filter: brightness(0.7);
}

/* Hover overlay for all team info */
.team-hover-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(189, 47, 45, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.team-member:hover .team-hover-info {
    opacity: 1;
}

.team-hover-name {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    line-height: 1.2;
}

.team-hover-title {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    line-height: 1.3;
}

.linkedin-connect {
    display: inline-flex;
    align-items: center;
    background: white;
    color: #0077b5;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.linkedin-connect:hover {
    background: #0077b5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

/* Hide all static info below photo */
.team-info {
    display: none;
}

/* Mobile Timeline Fixes */
@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column !important;
        text-align: center;
    }

    .timeline-item:nth-child(even) .timeline-content {
        text-align: center;
    }

    .timeline-content {
        margin: 20px 0;
        max-width: 100%;
    }

    .timeline-line {
        display: none;
    }

    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jurisdiction-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }

    .calendar-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .job-details-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .content-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 2rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin-top: 0;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    /* Job Card Mobile */
    .job-card {
        padding: 0;
    }

    .job-header {
        padding: 20px;
    }

    .job-footer {
        padding: 15px 20px;
    }

    .job-title {
        font-size: 1.25rem;
    }

    .job-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* Job Details Mobile */
    .job-details-layout {
        margin-top: 20px;
    }

    .job-info-card,
    .apply-card {
        padding: 20px;
    }

    .job-section h2 {
        font-size: 1.5rem;
    }

    .modal-content {
        width: 95%;
        margin: 20px;
    }

    .modal-header {
        padding: 20px;
    }

    .application-form {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
        padding: 15px;
    }

    .info-item {
        flex-direction: column;
        gap: 4px;
    }

    .info-item strong {
        min-width: auto;
    }

    .info-item span:last-child {
        text-align: left;
    }

    /* Footer Mobile */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-legal {
        gap: 20px;
    }

    /* Team Grid Mobile */
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .team-photo {
        height: 250px;
    }

    .team-hover-info {
        padding: 15px;
    }

    .team-hover-name {
        font-size: 16px;
    }

    .team-hover-title {
        font-size: 13px;
    }

    .linkedin-connect {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .card {
        padding: 25px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        padding: 30px 15px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }

    /* Job Cards Extra Small */
    .job-header {
        padding: 15px;
    }

    .job-footer {
        padding: 12px 15px;
    }

    .job-title {
        font-size: 1.1rem;
    }

    .job-meta {
        flex-direction: column;
        gap: 8px;
    }

    .job-type,
    .job-location {
        display: inline-block;
        width: fit-content;
    }

    /* Team Grid Extra Small */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .team-photo {
        height: 300px;
    }

    .team-hover-info {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    nav,
    .footer-section,
    .cta-section,
    .hero-cta,
    .apply-button,
    .modal,
    .mobile-menu-toggle {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .hero-section,
    .content-section,
    .bg-dark,
    .bg-grey,
    .bg-black {
        background: white !important;
        color: black !important;
    }

    .card,
    .job-card,
    .team-member,
    .highlight-box {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        break-inside: avoid;
    }

    .hero-title,
    .section-title,
    .card-title {
        color: black !important;
    }

    .hero-subtitle,
    .section-subtitle,
    .card-description {
        color: #333 !important;
    }

    a {
        color: #0066cc !important;
        text-decoration: underline !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    body {
        background: #000000;
        color: #ffffff;
    }

    .card,
    .job-card,
    .team-member {
        border: 2px solid #ffffff;
        background: #000000;
    }

    .nav-links a,
    .dropdown-toggle {
        color: #ffffff;
    }

    .nav-links a:hover,
    .dropdown-toggle:hover {
        color: #ffff00;
        background: #000000;
    }

    .hero-cta,
    .cta-button,
    .apply-button {
        background: #ffffff;
        color: #000000;
        border: 2px solid #ffffff;
    }

    .hero-cta:hover,
    .cta-button:hover,
    .apply-button:hover {
        background: #ffff00;
        color: #000000;
        border-color: #ffff00;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .ticker-content {
        animation: none;
        transform: none;
    }

    .card,
    .job-card,
    .team-member {
        opacity: 1;
        transform: none;
    }

    .hero-tag,
    .hero-title,
    .hero-subtitle,
    .hero-cta,
    .breadcrumb {
        opacity: 1;
        transform: none;
    }
}

/* Focus Styles for Accessibility */
:focus {
    outline: 2px solid #bd2f2d;
    outline-offset: 2px;
}

.nav-links a:focus,
.dropdown-toggle:focus,
.hero-cta:focus,
.cta-button:focus,
.apply-button:focus,
.button:focus {
    outline: 2px solid #bd2f2d;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(189, 47, 45, 0.25);
}

/* Skip Link for Screen Readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #bd2f2d;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

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

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

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

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error States */
.error {
    border-color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.1) !important;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-message::before {
    content: "⚠";
    font-weight: bold;
}

/* Success States */
.success {
    border-color: #28a745 !important;
    background: rgba(40, 167, 69, 0.1) !important;
}

.success-message {
    color: #28a745;
    font-size: 14px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.success-message::before {
    content: "✓";
    font-weight: bold;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mt-0 {
    margin-top: 0 !important;
}
.mt-1 {
    margin-top: 8px !important;
}
.mt-2 {
    margin-top: 16px !important;
}
.mt-3 {
    margin-top: 24px !important;
}
.mt-4 {
    margin-top: 32px !important;
}
.mt-5 {
    margin-top: 40px !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}
.mb-1 {
    margin-bottom: 8px !important;
}
.mb-2 {
    margin-bottom: 16px !important;
}
.mb-3 {
    margin-bottom: 24px !important;
}
.mb-4 {
    margin-bottom: 32px !important;
}
.mb-5 {
    margin-bottom: 40px !important;
}

.pt-0 {
    padding-top: 0 !important;
}
.pt-1 {
    padding-top: 8px !important;
}
.pt-2 {
    padding-top: 16px !important;
}
.pt-3 {
    padding-top: 24px !important;
}
.pt-4 {
    padding-top: 32px !important;
}
.pt-5 {
    padding-top: 40px !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}
.pb-1 {
    padding-bottom: 8px !important;
}
.pb-2 {
    padding-bottom: 16px !important;
}
.pb-3 {
    padding-bottom: 24px !important;
}
.pb-4 {
    padding-bottom: 32px !important;
}
.pb-5 {
    padding-bottom: 40px !important;
}

/* Font Weight Utilities */
.font-light {
    font-weight: 300;
}
.font-normal {
    font-weight: 400;
}
.font-medium {
    font-weight: 500;
}
.font-semibold {
    font-weight: 600;
}
.font-bold {
    font-weight: 700;
}

/* Color Utilities */
.text-primary {
    color: #bd2f2d;
}
.text-white {
    color: #ffffff;
}
.text-muted {
    color: #b0b0b0;
}
.text-light {
    color: #e0e0e0;
}

.bg-primary {
    background-color: #bd2f2d;
}
.bg-primary-light {
    background-color: rgba(189, 47, 45, 0.1);
}
.bg-transparent {
    background-color: transparent;
}

/* Border Utilities */
.border-primary {
    border-color: #bd2f2d;
}
.border-light {
    border-color: #333333;
}
.border-0 {
    border: 0;
}
.border-top {
    border-top: 1px solid #333333;
}
.border-bottom {
    border-bottom: 1px solid #333333;
}

/* Rounded Utilities */
.rounded-none {
    border-radius: 0;
}
.rounded-sm {
    border-radius: 4px;
}
.rounded {
    border-radius: 8px;
}
.rounded-lg {
    border-radius: 12px;
}
.rounded-full {
    border-radius: 50%;
}

/* Shadow Utilities */
.shadow-none {
    box-shadow: none;
}
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.shadow-lg {
    box-shadow: 0 8px 30px rgba(189, 47, 45, 0.2);
}

/* Animation Utilities */
.transition-all {
    transition: all 0.3s ease;
}
.transition-colors {
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}
.transition-transform {
    transition: transform 0.3s ease;
}
.transition-opacity {
    transition: opacity 0.3s ease;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}
.hover\:scale-110:hover {
    transform: scale(1.1);
}
.hover\:-translate-y-1:hover {
    transform: translateY(-4px);
}
.hover\:-translate-y-2:hover {
    transform: translateY(-8px);
}

/* Z-Index Utilities */
.z-0 {
    z-index: 0;
}
.z-10 {
    z-index: 10;
}
.z-20 {
    z-index: 20;
}
.z-30 {
    z-index: 30;
}
.z-40 {
    z-index: 40;
}
.z-50 {
    z-index: 50;
}

/* Position Utilities */
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.fixed {
    position: fixed;
}
.sticky {
    position: sticky;
}

/* Overflow Utilities */
.overflow-hidden {
    overflow: hidden;
}
.overflow-visible {
    overflow: visible;
}
.overflow-scroll {
    overflow: scroll;
}
.overflow-auto {
    overflow: auto;
}

/* Width and Height Utilities */
.w-full {
    width: 100%;
}
.w-auto {
    width: auto;
}
.h-full {
    height: 100%;
}
.h-auto {
    height: auto;
}

/* Display Utilities */
.block {
    display: block;
}
.inline-block {
    display: inline-block;
}
.inline {
    display: inline;
}
.flex {
    display: flex;
}
.inline-flex {
    display: inline-flex;
}
.grid {
    display: grid;
}
.hidden {
    display: none;
}

/* Flex Utilities */
.flex-row {
    flex-direction: row;
}
.flex-col {
    flex-direction: column;
}
.flex-wrap {
    flex-wrap: wrap;
}
.flex-nowrap {
    flex-wrap: nowrap;
}
.items-start {
    align-items: flex-start;
}
.items-center {
    align-items: center;
}
.items-end {
    align-items: flex-end;
}
.justify-start {
    justify-content: flex-start;
}
.justify-center {
    justify-content: center;
}
.justify-end {
    justify-content: flex-end;
}
.justify-between {
    justify-content: space-between;
}
.justify-around {
    justify-content: space-around;
}

/* Gap Utilities */
.gap-1 {
    gap: 8px;
}
.gap-2 {
    gap: 16px;
}
.gap-3 {
    gap: 24px;
}
.gap-4 {
    gap: 32px;
}
.gap-5 {
    gap: 40px;
}

.parallax-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: url("your-image.jpg") center/cover;
    will-change: transform;
}
/* Global Parallax Support */
body {
    overflow-x: hidden; /* Prevent horizontal scrolling from parallax */
}

.parallax-container {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    perspective: 1px;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.parallax-back {
    transform: translateZ(-1px) scale(2);
}

.parallax-base {
    transform: translateZ(0);
}

/* Ensure smooth transforms */
.hero-section,
.content-section,
.cta-section,
.card,
.job-card,
.team-member {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Disable parallax on mobile for performance */
@media (max-width: 768px) {
    .hero-section,
    .content-section,
    .cta-section,
    .card,
    .job-card,
    .team-member {
        transform: none !important;
        will-change: auto;
    }
}
