/* ==========================================================================
   Truth About Nursing — Speaking Site
   Design system matched to truthaboutnursing.org/about_us
   ========================================================================== */

:root {
    --primary-color: #2d4a6e;    /* navy */
    --primary-light: #4a7a9c;
    --secondary-color: #e27c2e;  /* orange accent */
    --accent-color: #e27c2e;
    --accent-dark: #c55a1a;
    --gold: #f2c94c;
    --bg-body: #f5f8fb;
    --bg-soft: #f8fafc;
    --border-color: #dee5ea;
    --border-soft: #eef2f5;
    --muted: #64748b;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-body);
    color: var(--primary-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bitter', 'Georgia', serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--primary-color);
}

/* ==========================================================================
   Bootstrap re-theme
   ========================================================================== */

.text-primary { color: var(--primary-color) !important; }
i.text-primary, .fa.text-primary, .fas.text-primary, .far.text-primary { color: var(--secondary-color) !important; }
.text-warning { color: var(--gold) !important; }

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
}
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5 { color: #fff; }

.bg-light { background-color: #fff !important; }

.btn {
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-primary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: var(--accent-dark) !important;
    border-color: var(--accent-dark) !important;
    color: #fff;
}
.btn-outline-primary {
    color: var(--secondary-color);
    border: 1.5px solid var(--secondary-color);
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #fff;
}
.btn-light { color: var(--primary-color); }
.btn-outline-light { border-width: 1.5px; }

.badge { border-radius: 20px; font-weight: 600; }
.badge.bg-primary {
    background: var(--primary-color) !important;
}
.badge.bg-light {
    background: var(--bg-soft) !important;
    border: 1px solid var(--border-soft);
    color: var(--primary-color) !important;
}

/* ==========================================================================
   Navigation (white sticky nav with pill links)
   ========================================================================== */

.main-nav {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    padding: 0.75rem 0;
}
.main-nav .navbar-brand {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
}
.main-nav .navbar-brand i { color: var(--secondary-color); }
.main-nav .nav-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem !important;
    border-radius: 40px;
    transition: all 0.2s;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--secondary-color);
    background: #f0f4f8;
}
.main-nav .nav-cta {
    border: 1.5px solid var(--secondary-color);
    color: var(--secondary-color) !important;
    font-weight: 600 !important;
    margin-left: 0.35rem;
}
.main-nav .nav-cta:hover {
    background: var(--secondary-color) !important;
    color: #fff !important;
}
.main-nav .navbar-toggler {
    border-color: var(--border-color);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 0;
}
.hero-section h1 {
    color: #fff;
    font-weight: 800;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
    font-size: 0.8rem;
    margin-top: 0.75rem;
    backdrop-filter: blur(4px);
}

/* ==========================================================================
   Section titles (orange left border, Bitter)
   ========================================================================== */

.section-title {
    position: relative;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-left: 5px solid var(--secondary-color);
    padding-left: 1rem;
}
.section-title::after { content: none; }

/* ==========================================================================
   Stats
   ========================================================================== */

.stat-item {
    padding: 1rem;
    text-align: center;
}
.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color) !important;
    margin-bottom: 0.25rem;
}
.stat-item p, .stat-item small {
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.speaking-topic-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    background: var(--bg-soft);
    overflow: hidden;
}
.speaking-topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.engagement-card {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.engagement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.badge-custom {
    background-color: var(--secondary-color);
    font-size: 0.8rem;
    border-radius: 20px;
}

.highlight-card {
    transition: all 0.2s;
    height: 100%;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft) !important;
    border-radius: 16px !important;
}
.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* ==========================================================================
   Contact form
   ========================================================================== */

.contact-form {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 30px;
}
.form-control, .form-select {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
}
.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(226, 124, 46, 0.15);
}
.form-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.2s;
    position: relative;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--secondary-color);
    opacity: 0.1;
    font-family: 'Bitter', Georgia, serif;
    line-height: 1;
}

.testimonial-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.badge-type {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.testimonial-event {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.location {
    font-size: 0.875rem;
    color: var(--muted);
}

.testimonial-content { margin: 1.5rem 0; }

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-additional {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted);
    border-left: 3px solid var(--secondary-color);
    padding-left: 1rem;
    margin-left: 0.5rem;
}

.testimonial-footer h6 {
    color: var(--primary-color);
    font-weight: 600;
}
.testimonial-footer a { color: var(--secondary-color); }

.testimonial-filters { margin-bottom: 2rem; }

.filter-btn {
    border: 1.5px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    margin: 0.25rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
    background: var(--secondary-color);
    color: white;
}

/* ==========================================================================
   About page
   ========================================================================== */

.profile-image-container {
    position: relative;
    display: inline-block;
}
.profile-image {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.profile-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.expertise-tags .badge {
    background: var(--bg-soft) !important;
    border: 1px solid var(--border-soft);
    color: var(--primary-color) !important;
    border-radius: 20px;
}

.quick-facts-card {
    background: #fff !important;
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--secondary-color);
    border-radius: 20px !important;
}
.fact-item h5 {
    font-family: 'Bitter', serif;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}
.fact-item small {
    color: var(--muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.7rem;
}

/* Education */
.education-item {
    padding: 1rem;
    background: var(--bg-soft);
    border-radius: 12px;
    border-left: 3px solid var(--secondary-color);
}

/* Timeline */
.advocacy-timeline {
    position: relative;
    padding-left: 1rem;
}
.advocacy-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--secondary-color);
    opacity: 0.3;
}
.timeline-year { min-width: 70px; }
.timeline-content { flex: 1; }

/* Awards */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}
.award-item {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft) !important;
    border-radius: 16px !important;
    transition: transform 0.2s, box-shadow 0.2s;
}
.award-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Publications */
.publication-category {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-soft);
}
.publication-category ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-soft);
}
.publication-category ul li:last-child { border-bottom: none; }

/* COVID Response */
.covid-response {
    background: #fff !important;
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--secondary-color);
    border-radius: 20px !important;
}

/* Personal Life */
.personal-life {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
    border-radius: 20px !important;
}
.personal-life h3 { color: #fff; }

/* CTA Card */
.cta-card {
    background: #fff !important;
    border: 1px solid var(--border-soft);
    border-top: 4px solid var(--secondary-color);
    border-radius: 20px !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--primary-color);
    color: #cddfe6;
    padding: 2rem 0 1.5rem;
    margin-top: 2rem;
}
.site-footer h5, .site-footer h6 { color: #fff; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer hr { border-color: rgba(255,255,255,0.2); }
.site-footer .social-links a {
    display: inline-flex;
    background: rgba(255,255,255,0.1);
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 0.4rem;
    color: #ffb347;
    transition: 0.2s;
}
.site-footer .social-links a:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* ==========================================================================
   Animations
   ========================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease forwards; }
.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .hero-section { padding: 60px 0; }
    .hero-section h1 { font-size: 2rem; }
    .section-title { font-size: 1.4rem; }
    .profile-image { width: 200px; height: 200px; }
    .awards-grid { grid-template-columns: 1fr; }
    .stat-item h3 { font-size: 1.6rem; }

    .testimonial-card { padding: 1.5rem; }
    .testimonial-header .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .testimonial-header .text-end {
        text-align: left !important;
        margin-top: 1rem;
    }
    .testimonial-footer .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .testimonial-footer .btn { margin-top: 1rem; }

    .timeline-item .d-flex { flex-direction: column; }
    .timeline-year { margin-bottom: 0.5rem; }
    .timeline-content { margin-left: 0 !important; }
}
