/* NBC History Addon Styles */
:root {
    --nbc-primary-blue: #1e3a8a;
    --nbc-primary-gold: #d4af37;
    --nbc-secondary-gold: #b8941f;
    --nbc-light-bg: #f8f9fa;
    --nbc-dark-text: #1f2937;
    --nbc-light-text: #6b7280;
    --nbc-white: #ffffff;
    --nbc-border-color: #e5e7eb;
}

/* Hero Section */
.nbc-hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--nbc-white);
    overflow: hidden;
}

.nbc-hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.nbc-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(44, 82, 130, 0.9) 100%);
    z-index: 2;
}

.nbc-hero-pattern {
    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"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
    z-index: 3;
}

.nbc-hero-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px;
}

.nbc-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--nbc-white);
}

.nbc-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    flex-wrap: wrap;
}

.nbc-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nbc-breadcrumb a:hover {
    color: var(--nbc-primary-gold);
}

.nbc-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.nbc-breadcrumb-current {
    color: var(--nbc-primary-gold);
    font-weight: 600;
}

.nbc-established-badge {
    display: inline-block;
    background: var(--nbc-primary-gold);
    color: var(--nbc-primary-blue);
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 30px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Story Section */
.nbc-story-section {
    padding: 80px 0;
}

.nbc-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.nbc-column-content h3 {
    font-size: 2rem;
    color: var(--nbc-primary-blue);
    margin-bottom: 20px;
    line-height: 1.3;
}

.nbc-column-content p {
    color: var(--nbc-light-text);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.nbc-column-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.nbc-column-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.nbc-column-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--nbc-primary-gold);
    border-radius: 15px;
    z-index: -1;
}

/* Timeline */
.nbc-timeline-section {
    padding: 80px 0;
    background-color: var(--nbc-light-bg);
}

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

.nbc-section-header h2 {
    font-size: 2.5rem;
    color: var(--nbc-primary-blue);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.nbc-section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--nbc-primary-gold);
    margin: 15px auto 0;
    border-radius: 2px;
}

.nbc-section-header p {
    color: var(--nbc-light-text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

.nbc-timeline {
    position: relative;
    padding: 20px 0;
}

.nbc-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--nbc-primary-gold);
    top: 0;
}

.nbc-timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

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

.nbc-timeline-content {
    width: 45%;
    background: var(--nbc-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 4px solid var(--nbc-primary-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nbc-timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.nbc-timeline-item:nth-child(even) .nbc-timeline-content {
    border-left: none;
    border-right: 4px solid var(--nbc-primary-gold);
    text-align: right;
}

.nbc-timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--nbc-primary-blue);
    color: var(--nbc-white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 4px solid var(--nbc-white);
    box-shadow: 0 0 0 4px var(--nbc-primary-gold);
    z-index: 10;
}

.nbc-timeline-content h3 {
    color: var(--nbc-primary-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.nbc-timeline-content p {
    color: var(--nbc-light-text);
    line-height: 1.8;
}

.nbc-timeline-image {
    width: 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.nbc-timeline-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nbc-timeline-image:hover img {
    transform: scale(1.05);
}

/* Stats Grid */
.nbc-stats-section {
    padding: 80px 0;
}

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

.nbc-stat-card {
    background: var(--nbc-white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border-bottom: 4px solid var(--nbc-primary-gold);
}

.nbc-stat-card:hover {
    transform: translateY(-10px);
}

.nbc-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--nbc-primary-blue);
    display: block;
    margin-bottom: 10px;
}

.nbc-stat-label {
    color: var(--nbc-light-text);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Values Grid */
.nbc-values-section {
    padding: 80px 0;
    background-color: var(--nbc-light-bg);
}

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

.nbc-value-card {
    background: var(--nbc-white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--nbc-primary-gold);
}

.nbc-value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.nbc-value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--nbc-primary-gold), var(--nbc-secondary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--nbc-white);
    font-size: 1.8rem;
}

.nbc-value-card h4 {
    color: var(--nbc-primary-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.nbc-value-card p {
    color: var(--nbc-light-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Leaders Grid */
.nbc-leaders-section {
    padding: 80px 0;
}

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

.nbc-leader-card {
    background: var(--nbc-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

.nbc-leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.nbc-leader-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--nbc-primary-blue), #2c5282);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nbc-white);
    font-size: 4rem;
    font-weight: 700;
}

.nbc-leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nbc-leader-info {
    padding: 25px;
}

.nbc-leader-info h4 {
    color: var(--nbc-primary-blue);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.nbc-leader-info p {
    color: var(--nbc-primary-gold);
    font-weight: 600;
    font-size: 0.95rem;
}

/* CTA Section */
.nbc-cta-section {
    background: linear-gradient(135deg, var(--nbc-primary-blue) 0%, #2c5282 100%);
    color: var(--nbc-white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nbc-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.nbc-cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.nbc-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.nbc-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.nbc-cta-button {
    display: inline-block;
    background: var(--nbc-primary-gold);
    color: var(--nbc-primary-blue);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nbc-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background: #e5c158;
}

/* Responsive */
@media (max-width: 968px) {
    .nbc-hero-content h1 {
        font-size: 2.5rem;
    }

    .nbc-timeline::before {
        left: 30px;
    }

    .nbc-timeline-item,
    .nbc-timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 80px;
    }

    .nbc-timeline-content,
    .nbc-timeline-item:nth-child(even) .nbc-timeline-content {
        width: 100%;
        text-align: left;
        border-right: none;
        border-left: 4px solid var(--nbc-primary-gold);
    }

    .nbc-timeline-image {
        width: 100%;
        margin-top: 20px;
    }

    .nbc-timeline-year {
        left: 30px;
        transform: translateX(-50%);
    }

    .nbc-two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .nbc-values-grid {
        grid-template-columns: 1fr;
    }
}

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

    .nbc-section-header h2 {
        font-size: 2rem;
    }

    .nbc-column-image::after {
        display: none;
    }

    .nbc-hero-content h1 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes nbc-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nbc-animate-on-scroll {
    animation: nbc-fadeInUp 0.8s ease forwards;
}
