/* ===== NIAGON Website CSS ===== */
/* Light Theme - Colors from niagon.com */

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

:root {
    --orange: #ff810d;
    --orange-light: #ff9a3c;
    --bg: #efefef;
    --bg-white: #ffffff;
    --text-dark: #1D333F;
    --text-muted: #5a6a72;
    --card-bg: #ffffff;
    --border: #dde2e5;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.5;
    font-size: 18px;
    font-weight: 300;
}

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

.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.mb-4 { margin-bottom: 2rem; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    line-height: 1.25;
    color: var(--text-dark);
}

h1 { font-size: clamp(32px, 5vw, 40px); }
h2 { font-size: clamp(26px, 4vw, 30px); margin-bottom: 1rem; }
h3 { font-size: 22px; margin-bottom: 0.5rem; }

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--text-dark);
    padding: 0 40px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 75px;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 16px;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid rgba(255,255,255,0.3);
}

.lang-switch a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 8px;
    transition: color 0.2s;
}

.lang-switch a:hover,
.lang-switch a.active {
    color: var(--orange);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .navbar { padding: 0 20px; }
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--text-dark);
        flex-direction: column;
        padding: 20px;
    }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: flex; }
}

/* ===== HERO ===== */
.hero {
    padding: 160px 24px 100px;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.hero-large {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 16px;
    color: #ffffff;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(20px, 3vw, 32px);
    color: rgba(255,255,255,0.9);
}

.hero-large .hero-subtitle {
    color: rgba(255,255,255,0.95) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Light hero for inner pages */
.hero-light {
    background: var(--bg);
    padding: 140px 24px 60px;
}

.hero-light h1 {
    color: var(--text-dark);
    text-shadow: none;
}

.hero-light .hero-subtitle {
    color: var(--text-muted);
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 24px;
}

.section-white {
    background: var(--bg-white);
}

.section-gray {
    background: var(--bg);
}

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    gap: 24px;
}

.cards-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.cards-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (max-width: 640px) {
    .cards-2 {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.card-image .card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-image .card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.6));
}

.card-body {
    padding: 24px;
}

.card-body h3 {
    color: var(--orange);
    margin-bottom: 12px;
}

.card-body p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* Icon Cards */
.card-icon-block {
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-icon-block .btn {
    margin-top: auto;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 129, 13, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 24px;
    color: var(--orange);
}

.card-meta {
    display: flex;
    gap: 16px;
    margin: 16px 0;
    font-size: 13px;
    color: var(--text-muted);
    font-family: 'Roboto', sans-serif;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-meta i {
    color: var(--orange);
    font-size: 12px;
}

/* ===== STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    text-align: center;
}

.stat-number {
    font-family: 'Roboto', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--orange);
}

.stat-label {
    color: var(--text-muted);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 0;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--orange);
    color: #ffffff;
    border-color: var(--orange);
}

.btn-primary:hover {
    background: var(--orange-light);
    border-color: var(--orange-light);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SERVICES LIST ===== */
.service-item {
    padding: 32px;
    border-bottom: 1px solid var(--border);
}

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

.service-item h3 {
    color: var(--orange);
    margin-bottom: 16px;
}

.service-item ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.service-item li {
    color: var(--text-muted);
    font-size: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.service-item li::before {
    content: '→';
    color: var(--orange);
    flex-shrink: 0;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h3 {
    color: var(--orange);
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact-detail i {
    color: var(--orange);
    width: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}

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

/* ===== JOBS ===== */
.job-card {
    background: var(--card-bg);
    border-radius: 0;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.job-card h3 {
    color: var(--text-dark);
    margin-bottom: 8px;
}

.job-type {
    color: var(--orange);
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.job-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    padding: 48px 24px;
    color: #ffffff;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.footer-logo {
    margin-left: -45px;
}

.footer-logo img {
    height: 75px;
    display: block;
}

.footer-company {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    margin-top: 8px;
}

.footer-address {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--orange);
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ===== LEGAL PAGES ===== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--orange);
}

.legal-content p,
.legal-content li {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 24px;
    margin-bottom: 24px;
}

.legal-content a {
    color: var(--orange);
}

/* ===== STICKY BANNER ===== */
.sticky-banner {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--orange);
    color: #ffffff;
    padding: 12px 24px;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.sticky-banner a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.sticky-banner a:hover {
    text-decoration: none;
}

.sticky-banner .banner-close {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    padding: 4px 8px;
}

.sticky-banner .banner-close:hover {
    opacity: 1;
}

/* Adjust hero padding when banner is visible */
body.has-banner .hero {
    padding-top: 200px;
}

body.has-banner .hero-light {
    padding-top: 180px;
}

@media (max-width: 768px) {
    .sticky-banner {
        font-size: 13px;
        padding: 10px 40px 10px 16px;
        text-align: center;
    }
    body.has-banner .hero {
        padding-top: 210px;
    }
}

/* ===== PILLAR PAGE STYLES ===== */

/* Definition Box */
.definition-box {
    background: var(--card-bg);
    border-left: 4px solid var(--orange);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-size: 1.1rem;
}

/* Table of Contents */
.toc {
    background: var(--card-bg);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.toc h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.toc ol {
    margin-left: 1.5rem;
}

.toc li {
    margin: 0.5rem 0;
}

.toc a {
    color: var(--text-dark);
    text-decoration: none;
}

.toc a:hover {
    color: var(--orange);
}

/* Content Page */
.content-page {
    padding: 3rem 0;
}

.content-page section {
    margin: 3rem 0;
    padding-top: 1rem;
}

.content-page h2 {
    color: var(--orange);
    border-bottom: 2px solid var(--orange);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.content-page h3 {
    margin: 1.5rem 0 1rem;
    font-size: 1.25rem;
}

.content-page ul, .content-page ol {
    margin: 1rem 0 1rem 2rem;
}

.content-page li {
    margin: 0.5rem 0;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Pillar Grid */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pillar {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid var(--orange);
}

.pillar-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    background: var(--orange);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.pillar h3 {
    margin-bottom: 0.75rem;
}

.pillar ul {
    margin-left: 1.25rem;
    font-size: 0.95rem;
}

/* COSO Framework - same style as pillars */
.coso-framework {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.coso-component {
    display: flex;
    gap: 1.5rem;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--orange);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.coso-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
}

.coso-content h4 {
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.coso-content p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.coso-content ul {
    margin-left: 1.25rem;
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .coso-component {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--border);
    border: 3px solid var(--bg);
}

.timeline-item.past::before {
    background: #6c757d;
}

.timeline-item.current::before {
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 129, 13, 0.2);
}

.timeline-item.future::before {
    background: var(--border);
}

.timeline-date {
    font-weight: 600;
    color: var(--orange);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.timeline-content h4 {
    margin-bottom: 0.25rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Steps */
.steps {
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 8px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    background: var(--orange);
    color: white;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 600;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Tables */
.cost-table, .comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
}

.cost-table th, .comparison-table th {
    background: var(--orange);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 500;
}

.cost-table td, .comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.cost-table tr:last-child td, .comparison-table tr:last-child td {
    border-bottom: none;
}

.cost-table tr:hover, .comparison-table tr:hover {
    background: rgba(255, 129, 13, 0.05);
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

.cta-box h3 {
    color: white;
    margin-bottom: 0.75rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.cta-box .btn-primary {
    background: white;
    color: var(--orange);
}

.cta-box .btn-primary:hover {
    background: var(--bg);
}

/* FAQ */
.faq-list {
    margin: 2rem 0;
}

.faq-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.faq-item h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Final CTA */
.final-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--card-bg);
    border-radius: 8px;
    margin: 3rem 0;
}

.final-cta h2 {
    border: none;
    color: var(--text-dark);
}

.final-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-secondary {
    background: transparent;
    color: var(--orange);
    border: 2px solid var(--orange);
}

.btn-secondary:hover {
    background: var(--orange);
    color: white;
}

/* Note text */
.note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1rem;
}

/* Service List */
.service-list {
    list-style: none;
    margin-left: 0;
}

.service-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.service-list li:last-child {
    border-bottom: none;
}

/* Hero Small */
.hero-small {
    padding: 140px 24px 3rem;
    text-align: center;
}

.hero-small h1 {
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 1rem;
    }
    
    .pillar-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
}

/* Card with Icon */
.card-icon {
    padding: 1.5rem;
    text-align: center;
}

.card-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    border-radius: 50%;
    margin-bottom: 1rem;
    color: white;
}

.card-icon-circle svg {
    width: 28px;
    height: 28px;
}

.card-icon h4 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.card-icon p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Better card padding on mobile */
@media (max-width: 768px) {
    .card {
        padding: 1.25rem;
    }
    
    .grid-3 {
        gap: 1rem;
    }
}

/* USP Cards - Clean & Simple */
.usp-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.usp-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--orange);
}

.usp-card h4 {
    color: var(--orange);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.usp-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

@media (min-width: 768px) {
    .usp-grid {
        flex-direction: row;
    }
    
    .usp-card {
        flex: 1;
    }
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown > .nav-link::after {
    content: '';
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform 0.2s;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--text-dark);
    min-width: 200px;
    border-radius: 0 0 8px 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.nav-dropdown:hover > .nav-link::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: rgba(255, 129, 13, 0.2);
    color: var(--orange);
}

.dropdown-menu a.coming-soon {
    color: #888;
    pointer-events: none;
}

.dropdown-menu a.coming-soon::after {
    content: ' (bald)';
    font-size: 0.8rem;
}

/* Mobile Dropdown */
@media (max-width: 768px) {
    .nav-dropdown {
        width: 100%;
        text-align: center;
    }
    
    .nav-dropdown > .nav-link {
        cursor: pointer;
        display: block;
        width: 100%;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .nav-dropdown > .nav-link::after {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0.5rem 0;
        margin: 0;
    }
    
    .dropdown-menu a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        text-align: center;
        color: rgba(255,255,255,0.7);
    }
    
    .dropdown-menu a:first-child {
        color: var(--orange);
    }
    
    .dropdown-menu a:hover {
        background: transparent;
    }
    
    .dropdown-menu a.coming-soon {
        color: rgba(255,255,255,0.4);
    }
}

/* Risk Level Badges */
.badge-high {
    background: #dc3545;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-limited {
    background: #ffc107;
    color: #333;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-minimal {
    background: #28a745;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Risk Pyramid */
.risk-pyramid {
    margin: 2rem 0;
}

.risk-level {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: var(--card-bg);
}

.risk-level.risk-forbidden {
    border-left: 4px solid #dc3545;
}

.risk-level.risk-high {
    border-left: 4px solid #fd7e14;
}

.risk-level.risk-limited {
    border-left: 4px solid #ffc107;
}

.risk-level.risk-minimal {
    border-left: 4px solid #28a745;
}

.risk-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.risk-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.risk-forbidden .risk-badge {
    background: #dc3545;
    color: white;
}

.risk-high .risk-badge {
    background: #fd7e14;
    color: white;
}

.risk-limited .risk-badge {
    background: #ffc107;
    color: #333;
}

.risk-minimal .risk-badge {
    background: #28a745;
    color: white;
}

.risk-level h4 {
    margin: 0;
    font-size: 1.1rem;
}

.risk-level p {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.risk-level ul {
    margin: 0;
    padding-left: 1.25rem;
}

.risk-level li {
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

/* Footer Grid (Pillar Pages) */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--orange);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.footer-col ul li {
    margin: 0.5rem 0;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin: 0;
}

/* Override default link color in footer */
.footer a {
    color: rgba(255,255,255,0.8);
}

.footer a:hover {
    color: var(--orange);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Branch Cards - Premium Design */
.branch-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.branch-header {
    background: linear-gradient(135deg, var(--text-dark) 0%, #2a4a5a 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.branch-icon {
    width: 48px;
    height: 48px;
    background: var(--orange);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.branch-icon svg {
    width: 26px;
    height: 26px;
    stroke: white;
}

.branch-header h3 {
    color: white;
    font-size: 1.15rem;
    margin: 0;
    font-weight: 500;
}

.branch-body {
    padding: 1.5rem;
}

.branch-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.branch-body li {
    padding: 0.4rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}

.branch-body li:last-child {
    border-bottom: none;
}

.branch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.branch-tags span {
    background: rgba(255, 129, 13, 0.1);
    color: var(--orange);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}
