/* =========================================
   NeuroBridge Learning - Master Stylesheet
   Brand Colors:
   - Deep Navy: #242650 (Primary Dark)
   - Rich Purple: #65509d (Accent)
   ========================================= */

/* =========================================
   Base Styles & Reset
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fdfdfd;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: #242650;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

/* =========================================
   Helper Classes
   ========================================= */
.bg-white {
    background-color: #fff !important;
}

.mb-30 {
    margin-bottom: 30px;
}

.section-heading-centered {
    text-align: center;
    margin-bottom: 50px;
}

.subheadline-bold {
    margin-bottom: 15px;
    font-weight: bold;
}

/* =========================================
   Header & Navigation
   ========================================= */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-height: 150px;
}

.main-nav a {
    text-decoration: none;
    color: #242650;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
    color: #65509d;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    background-color: #f0edf5; 
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

.subheadline {
    font-size: 1.25rem;
    color: #4a4d70;
    max-width: 850px;
    margin: 0 auto 40px auto;
}

/* =========================================
   Button Styling
   ========================================= */
.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary {
    background-color: #65509d;
    color: #fff;
    border: 2px solid #65509d;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #523e80;
    border-color: #523e80;
}

.btn-secondary {
    background-color: transparent;
    color: #65509d;
    border: 2px solid #65509d;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #e3dff0;
}

.btn-outline {
    background-color: transparent;
    color: #333;
    border: 1px solid #ccc;
}

.btn-outline:hover,
.btn-outline:focus {
    border-color: #65509d;
    color: #65509d;
}

/* =========================================
   Base Grids & Positioning
   ========================================= */
.positioning {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.positioning p {
    font-size: 1.15rem;
    max-width: 850px;
    margin: 0 auto 25px auto;
}

.pillars {
    padding: 80px 0;
    background-color: #f8f8fa; 
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03); 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.card h2, .card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #242650;
}

.card p {
    margin-bottom: 25px;
    color: #555;
    flex-grow: 1;
}

/* General Article Links (Used in lists) */
.article-link {
    color: #65509d;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-link:hover,
.article-link:focus {
    color: #242650;
    text-decoration: underline;
}

/* =========================================
   RESOURCE PAGES & TOOLKITS
   ========================================= */
.resource-card {
    background-color: #f6f4f9;
    border: 1px solid #dcd4e8;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(101, 80, 157, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.resource-card h3 {
    color: #242650;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.resource-card p {
    color: #555;
    flex-grow: 1;
}

.resource-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #65509d;
    background-color: #e3dff0;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.btn-resource {
    background-color: #65509d;
    color: #fff;
    border: 2px solid #65509d;
    margin-top: 15px;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-resource:hover,
.btn-resource:focus {
    background-color: #523e80;
    border-color: #523e80;
    box-shadow: 0 0 12px rgba(101, 80, 157, 0.3);
    color: #fff;
}

/* Checklist Styling for Downloadable HTML Pages */
.resource-checklist {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.resource-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #dcd4e8;
    color: #333;
}

.resource-checklist li:last-child {
    border-bottom: none;
}

.check-box {
    width: 18px;
    height: 18px;
    border: 2px solid #65509d;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 4px;
}

/* =========================================
   PAGE SPECIFIC SECTIONS
   ========================================= */

/* --- ABOUT PAGE --- */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.credentials-list {
    list-style-type: none;
    margin: 40px 0;
    padding: 0;
}

.credentials-list li {
    background-color: #f6f4f9;
    margin-bottom: 12px;
    padding: 18px 20px;
    border-radius: 6px;
    border-left: 5px solid #65509d;
    font-size: 1.1rem;
    font-weight: 500;
    color: #242650;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* --- THE BRIDGE PAGE --- */
.bridge-card {
    background-color: #f6f4f9; 
    border: 1px solid #dcd4e8;
}

.key-line-section {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}

.key-line {
    color: #65509d;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.3;
    max-width: 900px;
    margin: 0 auto;
}

.bridge-list {
    list-style-type: none;
    margin: 15px 0 0 0;
    padding: 0;
    color: #555;
    line-height: 1.8;
    flex-grow: 1;
}

.bridge-list li {
    margin-bottom: 10px;
}

.differentiator-section {
    background-color: #f6f4f9;
    padding: 80px 0;
    text-align: center;
}

.differentiator-content p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 35px auto;
    color: #242650;
}

/* --- CORPORATION PAGE --- */
.insights-section {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.insights-list {
    list-style-type: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.insights-list li {
    font-size: 1.2rem;
    color: #242650;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f6f4f9;
    border-radius: 6px;
    border-left: 4px solid #65509d;
}

.service-list {
    list-style-type: none;
    margin: 15px 0 25px 0;
    padding: 0;
    color: #555;
    line-height: 1.8;
    flex-grow: 1;
}

.service-list li {
    margin-bottom: 10px;
}

.outcome-section {
    background-color: #242650;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.outcome-text {
    color: #d6ccff;
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.3;
    max-width: 900px;
    margin: 0 auto;
}

.outcome-label {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- EDUCATION PAGE --- */
.focus-list {
    list-style-type: none;
    margin: 15px 0 0 0;
    padding: 0;
    color: #555;
    line-height: 1.8;
}

.focus-list li {
    margin-bottom: 10px;
}

.key-idea-section {
    background-color: #f6f4f9;
    padding: 70px 0;
    text-align: center;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.key-idea-text {
    color: #242650;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.3;
    max-width: 850px;
    margin: 0 auto;
}

.book-promo {
    padding: 80px 0;
    background-color: #fff;
}

.book-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: #242650;
    border-radius: 12px;
    padding: 50px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(36, 38, 80, 0.1);
}

.book-content {
    max-width: 600px;
}

.book-content h2 {
    color: #fff;
    margin-bottom: 10px;
}

.book-content h3 {
    color: #d6ccff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: normal;
}

.book-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.book-cover-img {
    max-width: 250px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background-color: #242650;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-text {
    color: #d6ccff;
    text-decoration: none;
    font-weight: bold;
}

.btn-text:hover,
.btn-text:focus {
    color: #fff;
    text-decoration: underline;
}

/* =========================================
   Responsive Design Adjustments
   ========================================= */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-bottom: 15px;
    }

    .main-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px; 
        width: 100%;
    }

    .main-nav a {
        margin: 0;
        font-size: 1rem;
        padding: 5px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero {
        padding: 70px 0;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .book-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .book-image-wrapper {
        margin-top: 30px;
    }
}
/* =========================================
   Profile Section (About Page)
   ========================================= */
.intro-profile {
    display: flex;
    /*align-items: flex-start;*/
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.profile-img {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(36, 38, 80, 0.1);
    border: 4px solid #f6f4f9; 
}

.intro-text p {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .intro-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }
    
    .about-content {
        text-align: center;
    }
}
/* =========================================
   PRINT STYLESHEET (For generating perfect PDFs)
   ========================================= */
@media print {
    .site-header, 
    .site-footer, 
    .main-nav,
    .btn-primary[download], 
    .hero .btn {
        display: none !important;
    }

    body {
        background-color: #fff !important;
        color: #000 !important;
        font-size: 11pt;
    }

    .page, .container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .resource-card,
    .action-card,
    .sign,
    .tip-box,
    .intro-box,
    .what-is,
    .resource-checklist,
    .phrase-card {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    h2, h3 {
        page-break-after: avoid !important;
        break-after: avoid !important;
    }

    .pillars h2 {
        page-break-before: always !important;
        break-before: page !important;
        padding-top: 20px !important;
    }

    .pillars:first-of-type h2 {
        page-break-before: auto !important;
        break-before: auto !important;
    }

    .hero {
        padding: 20px 0 10px 0 !important;
        background-color: #fff !important;
    }

    .hero h1 {
        font-size: 24pt !important;
        margin-bottom: 10px !important;
    }

    .pillars, .section {
        padding: 10px 0 !important;
        page-break-inside: auto;
    }
}