/* 
   Updated Stylesheet for Jon Neale's Professional Website
   Aligned with the comprehensive design brief requirements
   Inspired by Gary Vaynerchuk's website
*/

/* ===== VARIABLES ===== */
:root {
    /* Color Scheme - Exactly as specified in brief */
    --primary: #121212; /* Deep black background */
    --secondary: #121212; /* Same as primary for consistency */
    --accent: #FFD100; /* Bold yellow accent */
    --text-light: #FFFFFF; /* Clean white for text */
    --text-gray: #CCCCCC; /* Light gray for secondary text */
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Inter', sans-serif;
    
    /* Font Weights */
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-black: 900;
    
    /* Font Sizes - More dramatic contrast as specified */
    --text-xs: 1.2rem;
    --text-sm: 1.4rem;
    --text-base: 1.6rem;
    --text-lg: 1.8rem;
    --text-xl: 2.2rem;
    --text-2xl: 2.8rem;
    --text-3xl: 3.6rem;
    --text-4xl: 4.8rem;
    --text-5xl: 6.4rem;
    --text-6xl: 8rem;
    --text-7xl: 10rem;
    
    /* Spacing */
    --section-spacing: 120px;
    --element-spacing: 30px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px = 1rem */
}

body {
    font-family: var(--body-font);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: var(--weight-black);
    line-height: 1.2;
    margin-bottom: 2rem;
}

h1 {
    font-size: var(--text-7xl);
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

h2 {
    font-size: var(--text-5xl);
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
}

h4 {
    font-size: var(--text-2xl);
    font-weight: var(--weight-semibold);
}

p {
    margin-bottom: 2rem;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.lead-text {
    font-size: var(--text-xl);
    font-weight: var(--weight-medium);
    line-height: 1.5;
    margin-bottom: 3rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    font-family: var(--heading-font);
    font-weight: var(--weight-bold);
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
    z-index: -1;
}

.btn:hover::after {
    height: 100%;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ===== LAYOUT ===== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100px;
    height: 100vh;
    background-color: var(--primary);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 0;
}

.sidebar-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.main-content {
    margin-left: 100px;
    width: calc(100% - 100px);
}

.section {
    padding: 12rem 10rem;
    position: relative;
}

.section-header {
    margin-bottom: 6rem;
    position: relative;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-line {
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    margin-bottom: 4rem;
}

/* ===== LOGO ===== */
.logo {
    margin-bottom: 6rem;
}

.logo-text {
    font-family: var(--heading-font);
    font-weight: var(--weight-black);
    font-size: 3.6rem;
    color: var(--accent);
    transition: all var(--transition-fast);
}

.logo:hover .logo-text {
    transform: scale(1.1);
}

/* ===== NAVIGATION ===== */
.nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-link {
    display: block;
    padding: 1.5rem;
    font-family: var(--heading-font);
    font-weight: var(--weight-bold);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
    transform: rotate(180deg) translateX(-5px);
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0.5rem 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.social-link i {
    font-size: 1.8rem;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10rem;
    position: relative;
    background-color: var(--primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 0 0 50%;
}

.hero-text h1 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.hero-text h2 {
    font-size: var(--text-3xl);
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-tagline {
    font-size: var(--text-xl);
    font-weight: var(--weight-medium);
    margin-bottom: 4rem;
    color: var(--text-gray);
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 2rem;
}

.hero-image {
    flex: 0 0 40%;
    position: relative;
}

.profile-image {
    width: 100%;
    height: auto;
    border-radius: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    filter: contrast(1.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-gray);
    font-size: var(--text-sm);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    margin-top: 1rem;
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== KEY METRICS SECTION ===== */
.key-metrics {
    padding: 6rem 10rem;
    background-color: var(--primary);
    position: relative;
}

.metrics-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.metric-item {
    text-align: center;
    flex: 1;
}

.metric-number {
    font-family: var(--heading-font);
    font-weight: var(--weight-black);
    font-size: var(--text-5xl);
    color: var(--accent);
    margin-bottom: 1rem;
    line-height: 1;
}

.metric-label {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-gray);
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: flex;
    gap: 6rem;
    align-items: center;
}

.about-text {
    flex: 0 0 60%;
}

.about-image {
    flex: 0 0 35%;
}

/* ===== IMPACT STORIES SECTION ===== */
.impact-content {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.impact-story {
    display: flex;
    gap: 6rem;
    align-items: center;
}

.impact-story:nth-child(even) {
    flex-direction: row-reverse;
}

.impact-story-text {
    flex: 0 0 60%;
}

.impact-story-title {
    font-size: var(--text-4xl);
    margin-bottom: 2rem;
    color: var(--text-light);
}

.impact-story-subtitle {
    font-size: var(--text-xl);
    color: var(--accent);
    margin-bottom: 3rem;
}

.impact-story-visual {
    flex: 0 0 35%;
}

.impact-list {
    margin: 2rem 0;
}

.impact-list-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
}

.impact-list-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 10px;
    height: 10px;
    background-color: var(--accent);
}

/* ===== LEADERSHIP APPROACH ===== */
.leadership-content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.leadership-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.leadership-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 4rem 3rem;
    border-radius: 0;
    border-top: 3px solid var(--accent);
    transition: all var(--transition-fast);
    height: 100%;
}

.leadership-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.leadership-card h3 {
    font-size: var(--text-2xl);
    margin-bottom: 2rem;
}

.leadership-quote {
    text-align: center;
    margin-top: 6rem;
    padding: 4rem;
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
}

.leadership-quote p {
    font-family: var(--heading-font);
    font-weight: var(--weight-bold);
    font-size: var(--text-2xl);
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 0;
}

.leadership-quote:before {
    content: '"';
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-family: var(--heading-font);
    font-size: 8rem;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 4rem;
    border-radius: 0;
    position: relative;
    border-left: 4px solid var(--accent);
}

.testimonial-quote {
    position: relative;
    padding-left: 4rem;
}

.quote-icon {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 2.4rem;
    color: var(--accent);
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 3rem;
}

.author-info h4 {
    font-size: var(--text-xl);
    margin-bottom: 0.5rem;
}

.author-info p {
    font-size: var(--text-sm);
    color: var(--text-gray);
    margin-bottom: 0;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.carousel-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-control:hover {
    background-color: var(--accent);
    color: var(--primary);
}

/* ===== CAREER TIMELINE ===== */
.timeline-content {
    position: relative;
    padding-left: 6rem;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
}

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

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -6rem;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--accent);
    transform: translateX(-8px);
}

.timeline-date {
    font-family: var(--heading-font);
    font-weight: var(--weight-bold);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: var(--text-2xl);
    margin-bottom: 1rem;
}

.timeline-subtitle {
    font-size: var(--text-base);
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.timeline-details ul {
    list-style: none;
}

.timeline-details li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.timeline-details li:before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
}

/* ===== RECOGNITION SECTION ===== */
.recognition-content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.recognition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.recognition-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    text-align: center;
    transition: all var(--transition-fast);
}

.recognition-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
    border-bottom: 3px solid var(--accent);
}

.recognition-item h3 {
    font-size: var(--text-xl);
    margin-bottom: 1rem;
}

.recognition-item p {
    font-size: var(--text-sm);
    color: var(--text-gray);
    margin-bottom: 0;
}

/* ===== SPEAKING TOPICS ===== */
.speaking-content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.topic-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 4rem 3rem;
    border-radius: 0;
    transition: all var(--transition-fast);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.topic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.topic-card:hover:before {
    height: 5px;
}

.topic-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--accent);
    transition: all var(--transition-fast);
}

.topic-card h3 {
    font-size: var(--text-2xl);
    margin-bottom: 2rem;
}

.past-engagements {
    margin-top: 6rem;
}

.past-engagements h3 {
    margin-bottom: 3rem;
}

.engagements-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.engagement-item {
    display: flex;
    align-items: center;
}

.engagement-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-right: 2rem;
}

.engagement-text h4 {
    font-size: var(--text-lg);
    margin-bottom: 0.5rem;
}

.engagement-text p {
    font-size: var(--text-sm);
    color: var(--text-gray);
    margin-bottom: 0;
}

/* ===== STRATEGIC VISION SECTION ===== */
.vision-content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.vision-statement {
    font-size: var(--text-xl);
    line-height: 1.6;
    margin-bottom: 6rem;
}

.vision-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.vision-principle {
    position: relative;
    padding-left: 3rem;
}

.vision-principle-number {
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--heading-font);
    font-weight: var(--weight-black);
    font-size: var(--text-xl);
    color: var(--accent);
}

.vision-principle h3 {
    font-size: var(--text-xl);
    margin-bottom: 1.5rem;
}

.vision-quote {
    margin-top: 6rem;
    padding: 6rem;
    background-color: rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
}

.vision-quote p {
    font-family: var(--heading-font);
    font-weight: var(--weight-bold);
    font-size: var(--text-2xl);
    line-height: 1.4;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.vision-quote:before {
    content: '"';
    position: absolute;
    top: 3rem;
    left: 3rem;
    font-family: var(--heading-font);
    font-size: 12rem;
    color: var(--accent);
    opacity: 0.1;
    line-height: 1;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.contact-cta {
    text-align: center;
    margin-bottom: 6rem;
}

.contact-cta h3 {
    font-size: var(--text-4xl);
    margin-bottom: 2rem;
}

.contact-cta p {
    font-size: var(--text-xl);
    max-width: 800px;
    margin: 0 auto 4rem;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 6rem;
}

.contact-option {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 0;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.contact-option:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
}

.option-icon {
    font-size: 2.4rem;
    color: var(--accent);
    margin-right: 2rem;
}

.option-text {
    flex: 1;
}

.option-text h3 {
    font-size: var(--text-xl);
    margin-bottom: 0.5rem;
}

.option-text p {
    font-size: var(--text-sm);
    color: var(--text-gray);
    margin-bottom: 0;
}

.option-arrow {
    font-size: 2rem;
    color: var(--text-gray);
    transition: all var(--transition-fast);
}

.contact-option:hover .option-arrow {
    transform: translateX(10px);
    color: var(--accent);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 3rem;
}

.form-group label {
    display: block;
    font-family: var(--heading-font);
    font-weight: var(--weight-semibold);
    font-size: var(--text-sm);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: var(--text-light);
    font-family: var(--body-font);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-submit {
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary);
    padding: 4rem 10rem;
    margin-left: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p,
.footer-attribution p {
    margin-bottom: 0;
    font-size: var(--text-sm);
    color: var(--text-gray);
}

.footer-attribution a {
    color: var(--accent);
}

.footer-attribution a:hover {
    text-decoration: underline;
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border: none;
    border-radius: 0;
    z-index: 1000;
    cursor: pointer;
}

.toggle-icon {
    position: relative;
    display: block;
    width: 24px;
    height: 2px;
    margin: 0 auto;
    background-color: var(--text-light);
    transition: all var(--transition-fast);
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    transition: all var(--transition-fast);
}

.toggle-icon::before {
    top: -8px;
}

.toggle-icon::after {
    bottom: -8px;
}

.toggle-icon.open {
    background-color: transparent;
}

.toggle-icon.open::before {
    transform: rotate(45deg);
    top: 0;
}

.toggle-icon.open::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ===== ANIMATIONS ===== */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-text-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.animate-text-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.animate-text-delay-3 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    html {
        font-size: 56.25%; /* 9px = 1rem */
    }
    
    .section, .key-metrics {
        padding: 10rem 8rem;
    }
    
    .hero {
        padding: 0 8rem;
    }
    
    .leadership-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recognition-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    html {
        font-size: 50%; /* 8px = 1rem */
    }
    
    .sidebar {
        width: 80px;
    }
    
    .main-content {
        margin-left: 80px;
        width: calc(100% - 80px);
    }
    
    .section, .key-metrics {
        padding: 8rem 6rem;
    }
    
    .hero {
        padding: 0 6rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        flex: 0 0 100%;
        margin-bottom: 4rem;
    }
    
    .hero-image {
        flex: 0 0 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .metrics-container {
        flex-wrap: wrap;
    }
    
    .metric-item {
        flex: 0 0 calc(50% - 2rem);
        margin-bottom: 4rem;
    }
    
    .about-content, 
    .impact-story {
        flex-direction: column;
    }
    
    .impact-story:nth-child(even) {
        flex-direction: column;
    }
    
    .about-text, 
    .impact-story-text {
        flex: 0 0 100%;
    }
    
    .about-image, 
    .impact-story-visual {
        flex: 0 0 100%;
        margin-top: 4rem;
    }
    
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .engagements-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 250px;
        transition: transform var(--transition-medium);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-inner {
        align-items: flex-start;
        padding: 0 3rem;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .nav ul {
        align-items: flex-start;
    }
    
    .nav-link {
        writing-mode: horizontal-tb;
        transform: rotate(0);
        padding: 1.5rem 0;
    }
    
    .nav-link:hover, .nav-link.active {
        transform: translateX(5px) rotate(0);
    }
    
    .social-links {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .section, .key-metrics {
        padding: 6rem 4rem;
    }
    
    .hero {
        padding: 0 4rem;
    }
    
    .leadership-cards,
    .recognition-grid,
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .metric-item {
        flex: 0 0 100%;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .footer {
        margin-left: 0;
        padding: 4rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section, .key-metrics {
        padding: 6rem 3rem;
    }
    
    .hero {
        padding: 0 3rem;
    }
    
    h1 {
        font-size: var(--text-5xl);
    }
    
    h2 {
        font-size: var(--text-4xl);
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .testimonial {
        padding: 3rem 2rem;
    }
    
    .testimonial-quote {
        padding-left: 3rem;
    }
    
    .timeline-content {
        padding-left: 4rem;
    }
    
    .timeline-dot {
        left: -4rem;
    }
    
    .vision-quote {
        padding: 4rem 2rem;
    }
}

/* === FINAL FIX: Treat hero image like other responsive images on mobile === */
@media (max-width: 768px) {
    .hero {
        height: auto !important;
        padding: 4rem 2rem !important;
    }

    .hero-content {
        display: block !important;
        text-align: center;
    }

    .hero-image {
        display: block;
        width: 100%;
        margin: 2rem auto 0 auto;
    }

    .hero-image img.profile-image {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
        display: block;
    }
}