/* ==========================================================================
   TABLE OF CONTENTS
   ==========================================================================
   1.  GLOBAL STYLES & VARIABLES
   2.  BASE & TYPOGRAPHY
   3.  VERTICAL RHYTHM & SPACING
   4.  BUTTONS & LINKS
   5.  HEADER & NAVIGATION
   6.  FOOTER
   7. ICONS & SOCIAL LINKS
   8.  LAYOUT & UTILITY CLASSES
   9. SVG STYLES
   10.  ANIMATIONS & PAGE TRANSITIONS
   11.  CARD & GRID STYLES
   12. PAGE-SPECIFIC STYLES
       - 12.1 Index Page (Hero)
       - 12.2 About Page (Profile, Journey Chapters)
       - 12.3 Journey Page (Infographic)
       - 12.4 Speaking Page
       - 12.5 Mentorship Page
       - 12.6 Insights Page (Blog)
       - 12.7 Post Page
       - 12.8 Journey Page (Credentials)
   13. THIRD-PARTY & EMBED STYLES
       - 13.1 MailerLite Forms
       - 13.2 Contact Form
   14. RESPONSIVE DESIGN
   ========================================================================== */

/* --- 1. GLOBAL STYLES & VARIABLES --- */
:root {
    --clr-text: #1E1E1E;
    --clr-accent-primary: #F25C05;
    --clr-accent-secondary: #B85C38;
    --clr-bg-primary: #EFE9E4;
    --clr-bg-secondary: #D9D3CC;
    --clr-border: #C4B6A9;
    --font-body: 'Lato', sans-serif;
    --font-display: 'Playfair Display', serif;
    --space-s: 15px;
    --space-m: 30px;
    --space-l: 40px;
    --space-xl: 60px;
    --space-xxl: 80px;
}

/* --- 2. BASE & TYPOGRAPHY --- */
* {margin: 0; padding: 0; box-sizing: border-box; }

html {scroll-behavior: smooth; }
body {font-family: var(--font-body); background-color: var(--clr-bg-primary); color: var(--clr-text); line-height: 1.6; overflow-x: hidden; width: 100%; position: relative; min-height: 100vh;}
h1, h2 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(48px, 6vw, 64px); font-weight: 700; }
h2 { font-size: clamp(36px, 5vw, 44px); font-weight: 600; }
h3 { font-family: var(--font-body); font-size: clamp(22px, 3.5vw, 26px); font-weight: 500; }
h4 { font-family: var(--font-body); font-size: clamp(20px, 3vw, 24px); font-weight: 500; }
.subheader { font-size: clamp(20px, 3vw, 24px); font-weight: 500; color: var(--clr-text); }
p { font-size: clamp(16px, 2.5vw, 18px); max-width: 700px; }
.caption { font-size: 14px; font-weight: 300; color: var(--clr-text); }
ul { list-style: none; }

.text-accent-secondary {
    color: var(--clr-accent-secondary);
}
.typed-js-cursor {
    color: var(--clr-accent-secondary) !important;
    font-weight: 500 !important;
    font-size: 1.1em !important;
}

/* --- 3. VERTICAL RHYTHM & SPACING --- */
.mt-15 { margin-top: var(--space-s); }
.mt-30 { margin-top: var(--space-m); }
.mt-40 { margin-top: var(--space-l); }
.mt-60 { margin-top: var(--space-xl); }
.mt-80 { margin-top: var(--space-xxl); }
.mb-15 { margin-bottom: var(--space-s); }
.mb-30 { margin-bottom: var(--space-m); }
.mb-40 { margin-bottom: var(--space-l); }
.mb-60 { margin-bottom: var(--space-xl); }
.mb-80 { margin-bottom: var(--space-xxl); }
p + p { margin-top: var(--space-s); }
.contact-form form > * + * { margin-top: var(--space-s); }

/* --- 4. BUTTONS & LINKS --- */
a { color: var(--clr-accent-primary); text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; }
.post-body a { text-decoration: underline; }
.post-body a:hover { color: var(--clr-accent-secondary); }

.btn { display: inline-block; padding: 14px 28px; font-family: var(--font-body); font-size: 16px; font-weight: 700; text-transform: uppercase; text-align: center; border-radius: 4px; cursor: pointer; border: 2px solid var(--clr-accent-primary); transition: all 0.3s ease; transform: translateY(0); }
.btn:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(0,0,0,0.1); text-decoration: none; background-color: var(--clr-accent-primary); color: var(--clr-bg-primary);}
.btn-solid { background-color: var(--clr-accent-primary); color: var(--clr-bg-primary); }
.btn-solid:hover { background-color: var(--clr-accent-secondary); border-color: var(--clr-accent-secondary); }
.btn-outline { background-color: transparent; color: var(--clr-accent-primary); }
.btn-outline:hover { background-color: var(--clr-accent-primary); color: var(--clr-bg-primary); }
.hero-cta-group a { margin: 5px 10px; }

/* --- 5. HEADER & NAVIGATION --- */
.main-header {padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--clr-border); background: var(--clr-bg-primary); position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: padding 0.3s ease-out, box-shadow 0.3s ease-out;}
.main-header.is-sticky {padding: 10px 20px; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08); }
.logo { display: block; }
.logo img {
    height: 55px; 
    width: auto;
    display: block;
    transition: height 0.3s ease-out;
}
.main-header.is-sticky .logo img {
    height: 45px; 
}
.main-nav a {margin: 0 15px; color: var(--clr-text); font-weight: 500; position: relative; padding-bottom: 8px; text-decoration: none; transition: color 0.3s ease; }
.main-nav a::after {content: ''; position: absolute; width: 100%; height: 2px; bottom: 0; left: 0; background-color: var(--clr-accent-primary); transform: scaleX(0); transform-origin: center; transition: transform 0.3s ease-out; }
.main-nav a:hover {color: var(--clr-accent-primary); text-decoration: none; }
.main-nav a:hover::after {transform: scaleX(1); }
.hamburger-btn {display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; }
.hamburger-btn .hamburger-icon {width: 28px; height: 3px; background-color: var(--clr-text); display: block; position: relative; transition: background-color 0s 0.3s ease; }
.hamburger-btn .hamburger-icon::before, .hamburger-btn .hamburger-icon::after {content: ''; width: 28px; height: 3px; background-color: var(--clr-text); display: block; position: absolute; transition: all 0.3s ease; }
.hamburger-btn .hamburger-icon::before { top: -8px; }
.hamburger-btn .hamburger-icon::after { bottom: -8px; }
.main-nav.is-active + .hamburger-btn .hamburger-icon { background-color: transparent; }
.main-nav.is-active + .hamburger-btn .hamburger-icon::before { transform: rotate(45deg); top: 0; }
.main-nav.is-active + .hamburger-btn .hamburger-icon::after { transform: rotate(-45deg); bottom: 0; }

/* --- 6. FOOTER & BACK-TO-TOP --- */
.main-footer { text-align: center; padding: 40px 20px; border-top: 1px solid var(--clr-border); font-size: 14px; }
.footer-links a { margin: 0 10px; }
#back-to-top {position: fixed; bottom: 20px; right: 20px; width: 45px; height: 45px; background-color: var(--clr-accent-primary); color: var(--clr-bg-primary); border: none; border-radius: 50%; font-size: 24px; font-weight: bold; line-height: 45px; text-align: center; text-decoration: none; cursor: pointer; z-index: 999; opacity: 0; transform: translateY(20px); transition: opacity 0.3s ease-out, transform 0.3s ease-out, background-color 0.3s ease-out; }
#back-to-top:hover {background-color: var(--clr-accent-secondary); color: var(--clr-bg-primary); text-decoration: none; }
#back-to-top.is-visible {opacity: 1; transform: translateY(0); }

/* --- 7. ICONS & SOCIAL LINKS --- */
.social-link {display: inline-flex; align-items: center; gap: 8px; margin: 0 10px; color: var(--clr-accent-primary); text-decoration: none; font-weight: 500; }
.social-link .feather-icon {width: 20px; height: 20px; stroke: var(--clr-accent-primary); transition: transform 0.3s ease-out; }
.social-link span {position: relative; padding-bottom: 2px; }
.social-link span::after {content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background-color: var(--clr-accent-primary); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease-out; }
.social-link:hover { text-decoration: none; }
.social-link:hover .feather-icon {transform: translateY(-2px) scale(1.1); }
.social-link:hover span::after {transform: scaleX(1); }

/* --- 8. LAYOUT & UTILITY CLASSES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
main { overflow-x: hidden; }
.container:first-of-type { padding-top: 80px; }
.container:last-of-type { padding-bottom: 80px; }
.bg-secondary { background-color: var(--clr-bg-secondary); }
.divider { border: 0; height: 1px; background-color: var(--clr-border); max-width: 200px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.block-center { margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; top: -40px; left: 0; background: var(--clr-accent-primary); color: white; padding: 8px; z-index: 100; transition: top 0.3s; }
.skip-link:focus { top: 0; }
main {padding-top: 86px; }

/* --- 9. SVG STYLES --- */
.svg-divider {position: relative; width: 100%; line-height: 0; }
.svg-divider svg {display: block; width: 100%; height: 80px; }
.svg-divider .shape-fill {fill: var(--clr-bg-secondary); stroke: var(--clr-accent-primary); stroke-width: 2; stroke-dasharray: 3000; stroke-dashoffset: 3000; transition: stroke-dashoffset 2s cubic-bezier(0.45, 0, 0.55, 1); }
.svg-divider.is-drawing .shape-fill {stroke-dashoffset: 0; }

 /*--- 10. ANIMATIONS & PAGE TRANSITIONS --- */
/* .fade-in-section { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in-section.is-visible { opacity: 1; transform: translateY(0); }
body.fade-out { opacity: 0; transition: opacity 0.4s ease-in-out; }

.fade-in-only {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}
.fade-in-only.is-visible {
    opacity: 1;
} */

/* 10.1 PRELOADER */
/* #preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}
#preloader.fade-out-preloader {
    opacity: 0;
    visibility: hidden;
}
.loader-logo {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--clr-accent-primary);
    animation: pulse 1.5s infinite ease-in-out;
}
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
} */

/* --- 11. CARD & GRID STYLES --- */
.logo-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.flip-card {background-color: transparent; perspective: 1500px; min-height: 180px; border-radius: 4px; }
.flip-card-inner {position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.7s cubic-bezier(0.5, 0, 0.2, 1); transform-style: preserve-3d; }
.flip-card:hover .flip-card-inner {transform: rotateY(180deg); }
.flip-card-front, .flip-card-back {position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 25px; border-radius: 4px; border: 1px solid var(--clr-border); }
.flip-card-front {background-color: var(--clr-bg-secondary); }
.flip-card-front svg {height: 48px; width: 48px; margin-bottom: 20px; stroke: var(--clr-accent-primary); }
.flip-card-back {background-color: var(--clr-accent-secondary); color: var(--clr-bg-primary); transform: rotateY(180deg); }
.flip-card-back p {color: var(--clr-bg-primary); font-size: 15px; margin-bottom: 0; max-width: 100%;}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.insight-card {
    background-color: var(--clr-bg-primary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--clr-border);
    display: flex;
    flex-direction: column;
    max-width: 353px;
    margin: 0 auto;
    transition: box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.insight-card:hover {
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}
.card-link-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--clr-text);
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.card-link-wrapper:hover {
    text-decoration: none;
}
.insight-card:hover .card-link-wrapper {
    transform: translateY(-5px);
}
.insight-card-image-container {
    position: relative;
    overflow: hidden;
    background-color: var(--clr-bg-secondary); 
    aspect-ratio: 16 / 10;
}
.insight-card-image-container img {
    display: block;
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.insight-card:hover .insight-card-image-container img {
    transform: scale(1.05);
}
.card-category-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(242, 92, 5, 0.9);
    color: var(--clr-bg-primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(2px);
}
.insight-card-content {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.insight-card-content h3 {
    /* Use Playfair for card titles as a stylistic choice, distinct from body subheaders */
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    transition: color 0.3s ease;
    position: relative;
    padding-right: 25px;
}
.insight-card-content h3::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    color: var(--clr-accent-primary);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.insight-card:hover .insight-card-content h3::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
.insight-card:hover h3 {
    color: var(--clr-accent-primary);
}
.insight-card-content .caption {
    font-size: 13px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--clr-text);
    margin-top: auto;
    padding-top: 15px;
}
.card-meta .reading-time::before {
    content: '•';
    margin-right: 8px;
    color: var(--clr-border);
    font-weight: bold;
}

.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 800px; margin-left: auto; margin-right: auto; }
.testimonial-card {background-color: var(--clr-bg-secondary); border-left: 4px solid var(--clr-accent-primary); padding: 30px; border-radius: 0 4px 4px 0; position: relative; transition: transform 0.3s ease-out, box-shadow 0.3s ease-out; }
.testimonial-card:hover {transform: scale(1.05); box-shadow: 0 12px 30px rgba(30, 30, 30, 0.12); z-index: 10; }
.testimonial-card::before { content: '“'; position: absolute; top: -10px; left: 10px; font-family: var(--font-display); font-size: 100px; color: var(--clr-border); opacity: 0.8; line-height: 1; z-index: 1; }
.testimonial-card blockquote { margin: 0 0 20px 0; font-size: clamp(17px, 2.5vw, 19px); line-height: 1.6; font-weight: 400; position: relative; z-index: 2; }
.testimonial-card .testimonial-author { display: flex; align-items: center; gap: 15px; position: relative; z-index: 2; }
.testimonial-card .testimonial-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.testimonial-card cite { font-style: normal; font-weight: 700; }
.testimonial-card cite span { display: block; font-weight: 400; font-size: 14px; color: var(--clr-accent-secondary); }

.pull-quote {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0 20px 40px;
    border-left: 4px solid var(--clr-accent-primary);
    text-align: left;
}
.pull-quote p {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 600;
    line-height: 1.4;
    color: var(--clr-text);
    margin: 0 0 var(--space-m) 0;
    max-width: 100%;
}
.pull-quote cite {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    color: var(--clr-accent-secondary);
    display: block;
}

/* --- 12. PAGE-SPECIFIC STYLES --- */
/* 12.1 Index Page & Journey Page Banner */
.hero-title-interactive span { transition: color 0.3s ease, background-color 0.3s ease; cursor: default; padding: 0 5px; border-radius: 4px;}
.hero-title-interactive span:hover { color: var(--clr-bg-primary); background-color: var(--clr-accent-primary); }

.hero-banner-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding-top: var(--space-l);
    padding-bottom: var(--space-l);
}
/* Reduces the large gap between the hero image and the CTA buttons on the homepage */
.hero-banner-wrapper + .container {
    padding-top: var(--space-m);
}

#index-banner-wrapper {
    --gradient-start-color: #fffffe;
    --gradient-end-color: var(--clr-bg-primary);
}

#journey-banner-wrapper {
    --gradient-start-color: #f5f5f5;
    --gradient-end-color: var(--clr-bg-primary);
}

.hero-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: var(--space-l);
    margin-top: var(--space-xl);
    position: relative;
}

.hero-banner-image {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    .hero-layout-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-layout-grid::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: calc((100% + var(--space-l)) / 2);
        background: linear-gradient( to left, var(--gradient-start-color) 35%, var(--gradient-end-color) 100% );
        z-index: 1;
    }
    .hero-text-content,
    .hero-image-pane {
        position: relative;
        z-index: 2;
    }
}

/* 12.2 About Page */
.profile-image { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; display: block; margin-left: auto; margin-right: auto; }
.about-intro-text { max-width: 800px; }
#about p + p { margin-top: 10px; }
.journey-chapter { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.journey-image-container {position: relative; overflow: hidden; border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }
.journey-image-container img {display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.4s ease-out; }
.journey-image-overlay {position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(30, 30, 30, 0.5); color: var(--clr-bg-primary); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.4s ease-out; z-index: 1; }
.journey-image-overlay h3 {font-size: 28px; font-weight: 700; transform: translateY(10px); transition: transform 0.4s ease-out; }
.journey-image-container:hover img {transform: scale(1.05); }
.journey-image-container:hover .journey-image-overlay {opacity: 1;}
.journey-image-container:hover .journey-image-overlay h3 {transform: translateY(0); }
.journey-text h3 { font-size: 24px; }
.journey-text h4 { font-family: var(--font-body); font-size: 18px; font-weight: 700; color: var(--clr-accent-secondary); }
.journey-text ul { padding-left: 0; }
.journey-text ul li { padding-left: 25px; position: relative; margin-bottom: 12px; }
.journey-text ul li::before { content: '✓'; position: absolute; left: 0; color: var(--clr-accent-primary); font-weight: bold; }

/* 12.3 Journey Page Infographic */
.infographic-section { background-color: var(--clr-bg-secondary); padding: 40px; border-radius: 8px; }
.intro-text-section ul { padding-left: 0; max-width: 800px; margin: 0 auto; }
.intro-text-section li { position: relative; padding-left: 1.5em; margin-bottom: 10px; }
.intro-text-section li::before { content: '✓'; position: absolute; left: 0; color: var(--clr-accent-primary); font-weight: bold; }
.experience-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.chart-container-left, .industry-list-right { flex: 1; min-width: 300px; }
.chart-wrapper { position: relative; max-width: 400px; margin: 0 auto; }
.chart-center-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
.chart-center-text .years { font-family: var(--font-display); font-size: clamp(48px, 10vw, 64px); font-weight: 700; color: var(--clr-text); line-height: 1; }
.chart-center-text .label { font-family: var(--font-body); font-size: 18px; color: var(--clr-accent-secondary); margin-top: 5px; }
.industry-list ul { list-style-type: none; padding: 0; }
.industry-list-item { display: flex; align-items: center; padding: 8px 10px; margin-bottom: 5px; border-radius: 4px; cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; border-left: 4px solid transparent; }
.industry-list-item.active { background-color: var(--clr-bg-primary); transform: translateX(5px); }
.industry-list-item .color-box { width: 15px; height: 15px; margin-right: 15px; border-radius: 3px; flex-shrink: 0; }
.industry-list-item .industry-name { flex-grow: 1; font-weight: 500; }
.industry-list-item .logo-wrapper { display: flex; gap: 10px; margin-left: auto; }
.industry-list-item .industry-logo { height: 30px; width: auto; max-width: 80px; opacity: 0; transition: opacity 0.3s ease; object-fit: contain; }
.industry-list-item.active .industry-logo { opacity: 1; }

/* 12.4 Speaking Page */
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; background: #000; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.video-container iframe, .video-container div { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.logo-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.logo-bar img { max-height: 40px; width: auto; filter: grayscale(100%); opacity: 0.7; transition: all 0.3s ease; }
.logo-bar:hover img { filter: grayscale(0%); opacity: 1; }
.speaker-page-subheading { font-size: 18px; color: var(--clr-accent-secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.talk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.talk-card { background-color: var(--clr-bg-primary); border: 1px solid var(--clr-border); padding: 30px; border-radius: 4px; text-align: center; transition: transform 0.1s; }
.tilt-card { transform-style: preserve-3d; transform: perspective(1000px); }
.talk-icon { height: 45px; filter: invert(48%) sepia(88%) saturate(3576%) hue-rotate(354deg) brightness(96%) contrast(97%); }
.talk-card h4 { font-family: var(--font-body); font-size: 22px; font-weight: 500;}
.talk-tagline { font-style: italic; color: var(--clr-accent-secondary); font-size: 16px; }
.takeaways-list { padding: 0; text-align: left; font-size: 15px; }
.takeaways-list li { padding-left: 25px; position: relative; margin-bottom: 12px; }
.takeaways-list li::before { content: '✓'; position: absolute; left: 0; color: var(--clr-accent-primary); font-weight: bold; }

/* 12.5 Mentorship Page */
.mentorship-hero { display: grid; grid-template-columns: 1fr; gap: var(--space-l); align-items: center; }
.mentorship-hero-text, .mentorship-hero-text * { text-align: left; max-width: 100%; }
.mentorship-hero-image {
    background-color: var(--clr-bg-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.mentorship-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 4px;
}
.mentorship-timeline {position: relative; max-width: 600px; margin: 40px auto 0; padding-left: 50px; }
.timeline-line {position: absolute; left: 15px; top: 0; width: 2px; height: 100%; background-color: var(--clr-border); transform: scaleY(0); transform-origin: top; transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1); }
.mentorship-timeline.is-drawing .timeline-line {transform: scaleY(1);}
.timeline-step {position: relative; padding: 10px 0 40px 0; opacity: 0; transform: translateX(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out;}
.timeline-dot {position: absolute; left: -44px; top: 15px; width: 18px; height: 18px; border-radius: 50%; background-color: var(--clr-bg-primary); border: 3px solid var(--clr-border); z-index: 1; transform: scale(0); transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.timeline-content {display: flex; align-items: flex-start; gap: 20px;}
.timeline-content .step-number {flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; background-color: var(--clr-accent-primary); color: var(--clr-bg-primary); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 20px;}
.timeline-content .step-text h4 {font-size: 20px; font-weight: 500; margin-bottom: 5px;}
.timeline-content .step-text p {font-size: 16px; margin: 0;}
.mentorship-timeline.is-drawing .timeline-step {opacity: 1; transform: translateX(0);}
.mentorship-timeline.is-drawing .timeline-step:nth-child(2) { transition-delay: 0.0s; }
.mentorship-timeline.is-drawing .timeline-step:nth-child(3) { transition-delay: 0.2s; }
.mentorship-timeline.is-drawing .timeline-step:nth-child(4) { transition-delay: 0.5s; }
.mentorship-timeline.is-drawing .timeline-step:nth-child(5) { transition-delay: 0.8s; }
.mentorship-timeline.is-drawing .timeline-step:nth-child(6) { transition-delay: 1.1s; }
.mentorship-timeline.is-drawing .timeline-step:nth-child(7) { transition-delay: 1.4s; }

.mentorship-timeline.is-drawing .timeline-dot {transform: scale(1); border-color: var(--clr-accent-primary);}
.mentorship-timeline.is-drawing .timeline-step:nth-child(2) .timeline-dot { transition-delay: 0.0s; }
.mentorship-timeline.is-drawing .timeline-step:nth-child(3) .timeline-dot { transition-delay: 0.2s; }
.mentorship-timeline.is-drawing .timeline-step:nth-child(4) .timeline-dot { transition-delay: 0.5s; }
.mentorship-timeline.is-drawing .timeline-step:nth-child(5) .timeline-dot { transition-delay: 0.8s; }
.mentorship-timeline.is-drawing .timeline-step:nth-child(6) .timeline-dot { transition-delay: 1.1s; }
.mentorship-timeline.is-drawing .timeline-step:nth-child(7) .timeline-dot { transition-delay: 1.4s; }

.faq-accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--clr-border); }
.accordion-item:first-child { border-top: 1px solid var(--clr-border); }
.accordion-header { width: 100%; background: none; border: none; text-align: left; padding: 20px 0; font-size: 18px; font-weight: 700; cursor: pointer; position: relative; padding-right: 40px; color: var(--clr-text); text-decoration: none; }
.accordion-header::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-family: var(--font-display); color: var(--clr-accent-primary); transition: transform 0.3s ease; }
.accordion-item.active .accordion-header::after { transform: translateY(-50%) rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.accordion-content p { padding: 0 0 20px 0; font-size: 16px; margin-bottom: 0; }

/* 12.6 Insights Page (Blog) */
.filter-search-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-select {
    padding: 10px 15px;
    border: 1px solid var(--clr-border);
    border-radius: 4px;
    background-color: var(--clr-bg-primary);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--clr-text);
    cursor: pointer;
    min-width: 200px;
}
.filter-select:focus {
    outline: none;
    border-color: var(--clr-accent-primary);
}
.search-container {
    flex-grow: 1;
    max-width: 300px;
}
#search-input {
    width: 100%;
    padding: 10px 17px;
    border: 1px solid var(--clr-border);
    border-radius: 20px;
    background-color: var(--clr-bg-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
#search-input:focus {
    outline: none;
    border-color: var(--clr-accent-primary);
    box-shadow: 0 0 0 2px rgba(242, 92, 5, 0.2);
}
.show-more-container { 
    text-align: center; 
}
#show-more-btn { 
    background: none; 
    border: none; 
    cursor: pointer; 
}
#show-more-btn svg { 
    width: 50px; 
    height: 50px; 
    color: var(--clr-accent-primary); 
    transition: transform 0.3s ease, color 0.3s ease; 
}
#show-more-btn:hover svg { 
    transform: scale(1.1); 
    color: var(--clr-accent-secondary); 
}
.subscribe-cta-container { 
    display: grid; 
    gap: 30px; 
    align-items: center; 
    background-color: var(--clr-bg-secondary); 
    border-radius: 8px; 
    padding: 40px; 
}
.subscribe-text h3 { 
    font-size: clamp(24px, 4vw, 32px); 
}
.subscribe-visual img {
    max-width: 100%;
    height: auto;
}

.rotating-subtitle {
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 500;
    color: var(--clr-accent-secondary);
    min-height: 40px; 
}

.insights-intro-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    background-color: var(--clr-bg-secondary);
    border-radius: 8px;
}

.insights-intro-block h4 {
    margin-bottom: 15px;
}

.insights-intro-block p {
    margin-bottom: 20px;
}

.tick-list {
    list-style: none;
    padding-left: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tick-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    text-align: left;
}

.tick-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--clr-accent-primary);
    font-weight: bold;
    font-size: 20px;
}

.journey-text ul li::before,
.takeaways-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--clr-accent-primary);
    font-weight: bold;
}

/* 12.7 Post Page */
.post-page-container {
    padding-top: 0;
}
.post-content-wrapper {
    max-width: 800px; /* THIS IS THE LINE TO CHANGE THE TEXT/IMAGE WIDTH */
    margin-left: auto;
    margin-right: auto;
}
.post-header { 
    text-align: center;
}
.post-meta { 
    font-size: 16px; 
    color: var(--clr-accent-secondary); 
    font-weight: 500;
    text-align: center;
    max-width: 100%;
}
.post-image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background-color: var(--clr-bg-secondary);
}
#post-image { 
    display: block; 
    width: 100%; 
    height: 100%;
    object-fit: cover;
}
.post-body { 
    font-size: 19px; 
    line-height: 1.8; 
}
.post-body p {
    max-width: 100%;
}
.post-body p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 4.5em;
    font-weight: 700;
    color: var(--clr-accent-primary);
    float: left;
    line-height: 0.8;
    margin-right: 0.05em;
    padding-top: 0.1em;
}
.post-body h2 { font-size: 32px; margin-top: var(--space-xl); }
.post-body h3 { font-size: 24px; font-weight: 500; margin-top: var(--space-l); }
.post-body blockquote {
    border-left: 3px solid var(--clr-accent-primary);
    padding-left: var(--space-m);
    margin: var(--space-l) 0;
    font-style: italic;
    font-size: 20px;
    color: var(--clr-text);
}
.post-author-bio {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: var(--space-xl);
    padding-top: var(--space-l);
    border-top: 1px solid var(--clr-border);
}
.post-author-bio .bio-image { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.post-author-bio .bio-name { font-weight: 700; font-size: 18px; margin-bottom: 5px; }
.post-author-bio .bio-description { font-size: 15px; margin: 0; max-width: 100%; line-height: 1.6; }

#reading-progress-bar {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 3px;
    background-color: var(--clr-accent-primary);
    width: 0%;
    z-index: 1001;
    transition: width 0.1s linear;
}
.share-links-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* 12.8 Journey Page (Credentials) */
.credential-flip-card {
    min-height: 220px;
}
.credential-logo-front {
    max-height: 50px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.credential-flip-card .flip-card-front h4 {
    font-size: 18px;
    font-weight: 700;
}
.credential-flip-card .flip-card-front .issuer {
    font-size: 15px;
    color: var(--clr-accent-secondary);
    margin-top: 4px;
}
.credential-flip-card .flip-card-back h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--clr-bg-primary);
}
.credential-flip-card .flip-card-back .date {
    font-size: 14px;
    color: var(--clr-bg-primary);
    opacity: 0.9;
    margin-top: 8px;
}
.credential-flip-card .flip-card-back .skills {
    font-size: 14px;
    line-height: 1.5;
    color: var(--clr-bg-primary);
    margin-top: 12px;
    max-width: 100%;
}

/* --- 13. THIRD-PARTY & EMBED STYLES --- */
/* 13.1 MailerLite Forms */
.subscribe-form-container { 
    max-width: 600px; 
    margin: 0 auto; 
    text-align: center; 
}
.ml-form-embedContent { display: none; }
.ml-form-embedContainer .ml-form-embedWrapper { max-width: 100%; padding: 0; }
.ml-form-embedContainer .ml-block-form { width: 100%; }
.ml-form-formContent .ml-form-fieldRow + .ml-form-fieldRow { margin-top: var(--space-s); }
.ml-form-embedContainer .form-control { width: 100%; padding: 15px; border: 1px solid var(--clr-border); border-radius: 4px; background-color: var(--clr-bg-primary); font-family: var(--font-body); font-size: 16px; color: var(--clr-text); height: auto; line-height: normal; }
.ml-form-embedContainer .form-control:focus { outline: none; border-color: var(--clr-accent-primary); box-shadow: 0 0 0 2px rgba(242, 92, 5, 0.2); }
.ml-form-embedContainer .primary { display: block; width: 100%; padding: 14px 28px; font-family: var(--font-body); font-size: 16px; font-weight: 700; text-transform: uppercase; text-align: center; border-radius: 4px; cursor: pointer; border: 2px solid var(--clr-accent-primary); transition: all 0.3s ease; background-color: var(--clr-accent-primary); color: var(--clr-bg-primary); box-shadow: none; text-shadow: none; float: none; }
.ml-form-embedContainer .primary:hover { background-color: var(--clr-accent-secondary); border-color: var(--clr-accent-secondary); color: var(--clr-bg-primary); transform: scale(1.02); }
.ml-form-successBody h4 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 36px); font-weight: 600; color: var(--clr-text); }
.ml-form-successBody p { font-size: clamp(16px, 2.5vw, 18px); max-width: 700px; color: var(--clr-text); }

/* 13.2 Contact Form */
.contact-form { max-width: 600px; margin: 0 auto; text-align: center; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: 1px solid var(--clr-border); border-radius: 4px; background-color: var(--clr-bg-primary); font-family: var(--font-body); font-size: 16px; }
.contact-links { text-align: center; }
.contact-links a { margin: 0 15px; }

/* --- 14. RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .main-header { flex-direction: row; flex-wrap: wrap; }
    .logo { flex-grow: 1; }
    .hamburger-btn { display: block; }
    .main-nav { display: none; flex-direction: column; width: 100%; text-align: center; padding: 20px 0; background-color: var(--clr-bg-primary); border-top: 1px solid var(--clr-border); order: 3; position: absolute; top: 100%; left: 0; }
    .main-nav.is-active { display: flex; }
    .main-nav a { margin: 10px 0; }
    .filter-search-container { flex-direction: column; align-items: stretch; }
    .search-container { max-width: 100%; }
}
@media (min-width: 768px) {
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .filter-search-container { flex-direction: row; justify-content: space-between; align-items: center; }
    .category-filters { text-align: left; }
    .search-container { width: auto; min-width: 250px; }
    
    .hero-layout-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-image-pane {
        grid-row: auto;
    }
    .hero-text-content {
        grid-row: auto;
    }
    .mentorship-hero { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
    .featured-insight-split { grid-template-columns: 1fr; padding: 20px; gap: 30px; }
}
@media (max-width: 992px) {
    .experience-layout { flex-direction: column; }
    .industry-list-right { width: 100%; }
}
@media (min-width: 992px) {
    .journey-chapter { grid-template-columns: 1fr 1fr; gap: 60px; }
    .journey-chapter.reverse .journey-image-container { order: 2; }
    .subscribe-cta-container { grid-template-columns: 1fr 1fr; gap: 50px; padding: 50px; }
    .subscribe-visual { text-align: right; }
}