/* ===========================================
   CSS VARIABLES - BRAND COLORS ONLY
   NO BLUES, NO NEONS
============================================ */
:root {
    --essa-deep-green: #1F5E4B;    /* Primary color - Growth, Stability */
    --essa-earth-brown: #7A4A2E;   /* Heritage, Grounding */
    --essa-warm-ochre: #C46A1A;    /* Action, Participation */
    --essa-light-bg: #F8F5F2;      /* Light background */
    --text-dark: #1F2933;
    --white: #FFFFFF;
    
    /* Button dimensions - will be overridden by admin settings */
    --button-padding-vertical: 0.9rem;
    --button-padding-horizontal: 2rem;
    --button-font-size: 1rem;
    --button-border-radius: 4px;
    --button-min-width: auto;
    --button-max-width: none;
    --button-base-width: auto;
}

/* ===========================================
   BASE RESET & TYPOGRAPHY SYSTEM
   STRICT FONT RULES APPLIED
============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    /* STRICT: Clean sans-serif for body text (clarity & readability) */
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* STRICT: Serif for all headings (authority & intellectual depth) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
    color: var(--essa-deep-green);
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 1.2rem;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===========================================
   CONTAINER SYSTEM
============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.narrow-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

/* ===========================================
   ✅ UPDATED HEADER - NO SHADOWS, NO SEPARATION
============================================ */
.site-header {
    background-color: var(--essa-deep-green);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    /* ✅ REMOVED: All shadows and borders for seamless continuity */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0; /* Increased padding for more logo clear space */
}

/* ✅ ENHANCED LOGO HIERARCHY (Section 2) */
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ✅ Logo size increased 10% (Section 2) */
.site-logo img {
    height: 70px; /* Increased from 60px (~10% increase) */
    width: auto;
    /* ✅ REMOVED: transform animation */
    filter: brightness(1.15) contrast(1.1);
    /* ✅ Clear space around logo (implicit via container padding) */
}

/* ✅ REDUCED NAVIGATION VISUAL DOMINANCE (Section 2) */
.main-nav {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

/* ✅ All navigation items equal weight - RESTRAINT */
.nav-link {
    color: rgba(255, 255, 255, 0.85); /* Softer white for reduced dominance */
    font-weight: 400; /* Equal font-weight for all items */
    transition: color 0.3s ease; /* Only color transition */
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    padding: 0.5rem 0.8rem;
    position: relative;
    white-space: nowrap;
    border-radius: 3px;
}

.nav-link:hover {
    color: var(--essa-warm-ochre); /* Warm ochre on hover - simple color change */
}

/* ✅ SIMPLE UNDERLINE ON HOVER - NO ANIMATION */
.nav-link:hover:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.8rem;
    right: 0.8rem;
    height: 1px;
    background-color: var(--essa-warm-ochre); /* Warm ochre line */
    /* NO TRANSFORM, NO SCALING - just appears */
}

/* ✅ MOBILE MENU TOGGLE */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
}

/* Hamburger animation - kept for functionality */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===========================================
   BUTTON SYSTEM - NO ANIMATIONS
============================================ */
.btn {
    display: inline-block;
    padding: var(--button-padding-vertical) var(--button-padding-horizontal);
    border-radius: var(--button-border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: var(--button-font-size);
    border: 2px solid transparent;
    /* ✅ REMOVED: All transitions to eliminate animations */
    transition: none !important;
    min-width: var(--button-min-width);
    max-width: var(--button-max-width);
}

.btn-primary {
    background-color: var(--essa-warm-ochre);
    color: var(--white);
    /* Keep transitions for other sections unless specified */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #b45f18; /* Darker ochre */
}

.btn-secondary {
    background-color: var(--essa-deep-green);
    color: var(--white);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #1a4f3f; /* Darker green */
}

.btn-outline {
    background-color: transparent;
    border-color: var(--essa-warm-ochre);
    color: var(--essa-warm-ochre);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--essa-warm-ochre);
    color: var(--white);
}

/* ===========================================
   ✅ UPDATED HERO SECTION - NO DIMENSION RULES
============================================ */
.hero-section {
    background-color: var(--essa-deep-green);
    color: var(--white);
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
    /* ✅ Clean continuity - no separators of any kind */
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ✅ SIMPLIFIED: Hero Actions - controlled by admin settings */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    align-items: center;
}

/* ===========================================
   CREDIBILITY LINE (NEW ADDITION)
=========================================== */
.credibility-line {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.5rem;
    font-weight: 300;
    letter-spacing: 0.3px;
    font-style: italic;
}

/* ===========================================
   THE MOVEMENT SECTION
============================================ */
.movement-section {
    background-color: var(--essa-light-bg);
    padding: 4rem 0;
}

.movement-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--essa-deep-green);
}

.movement-content {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===========================================
   WHAT WE DO SECTION
============================================ */
.what-we-do-section {
    background-color: var(--white);
    padding: 4rem 0;
}

.what-we-do-header {
    text-align: center;
    margin-bottom: 3rem;
}

.what-we-do-header h2 {
    color: var(--essa-deep-green);
    margin-bottom: 1rem;
}

.what-we-do-header .section-subtitle {
    font-size: 1.2rem;
    color: var(--essa-earth-brown);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

.core-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.core-area {
    text-align: center;
    padding: 1.8rem;
    background: var(--essa-light-bg);
    border-radius: 4px;
    border-top: 4px solid var(--essa-deep-green);
    transition: border-color 0.3s ease; /* Only border color transition */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.core-area:hover {
    border-top-color: var(--essa-earth-brown); /* Earth brown line on hover */
}

.core-area-icon {
    width: 65px;
    height: 65px;
    background: var(--essa-deep-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    color: var(--white);
    font-size: 1.6rem;
}

.core-area h3 {
    color: var(--essa-deep-green);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    flex-grow: 0;
}

.core-area p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
    flex-grow: 1;
}

/* ===========================================
   THE PROBLEM SECTION
============================================ */
.problem-section {
    background-color: var(--white);
    padding: 4rem 0;
}

.problem-header {
    text-align: center;
    margin-bottom: 3rem;
}

.problem-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: var(--essa-light-bg);
    border-top: 4px solid var(--essa-deep-green);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--essa-deep-green);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.problem-conclusion {
    margin-top: 2rem;
    padding: 1.5rem;
    border-left: 4px solid var(--essa-earth-brown);
    background: rgba(122, 74, 46, 0.05);
    font-style: italic;
}

/* ===========================================
   SKILLS ACADEMY SECTION
============================================ */
.academy-section {
    background-color: var(--essa-light-bg);
    padding: 5rem 0;
}

.academy-tagline {
    color: var(--essa-earth-brown);
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    text-align: center;
}

.academy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 4px;
    border-left: 4px solid var(--essa-earth-brown);
    height: 100%;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--essa-light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--essa-deep-green);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--essa-deep-green);
}

.feature-text p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===========================================
   BOOK SECTION
============================================ */
.book-section {
    background-color: var(--white);
    padding: 4rem 0;
}

.book-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.book-cover {
    max-width: 100%;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.book-author {
    color: var(--essa-earth-brown);
    font-style: italic;
    margin-bottom: 1rem;
}

/* ===========================================
   PROFESSIONAL PROOF SECTION - FIXED
============================================ */
.proof-section {
    background-color: var(--essa-light-bg);
    padding: 4rem 0;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.proof-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(122, 74, 46, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.proof-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Professional image container */
.proof-image-container {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

/* Professional image styling - USING IMG TAGS */
.proof-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.proof-card:hover .proof-image {
    transform: scale(1.05);
}

/* Professional placeholder for missing images */
.proof-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    color: #666;
    padding: 2rem;
    text-align: center;
}

.placeholder-icon {
    font-size: 3rem;
    color: var(--essa-warm-ochre);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.placeholder-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--essa-earth-brown);
    font-style: italic;
}

/* Professional image caption */
.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(31, 94, 75, 0.9), rgba(31, 94, 75, 0.7));
    color: white;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    border-top: 2px solid var(--essa-warm-ochre);
    backdrop-filter: blur(4px);
}

/* Proof content styling */
.proof-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.proof-content h3 {
    color: var(--essa-deep-green);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.proof-content p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

/* ===========================================
   STRATEGIC COMMENTS SECTION
============================================ */
.comments-section {
    background-color: var(--white);
    padding: 4rem 0;
}

.comments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.comment-card {
    background: var(--essa-light-bg);
    padding: 2rem;
    border-radius: 4px;
    border-left: 4px solid var(--essa-warm-ochre);
    position: relative;
}

.comment-card:before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 3rem;
    color: rgba(196, 106, 26, 0.2);
    font-family: 'Merriweather', serif;
    line-height: 1;
}

.comment-text {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.comment-author {
    border-top: 1px solid rgba(122, 74, 46, 0.1);
    padding-top: 1rem;
}

.comment-author strong {
    display: block;
    color: var(--essa-deep-green);
    font-weight: 600;
}

.comment-author span {
    font-size: 0.9rem;
    color: var(--essa-earth-brown);
}

.add-comment-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.add-comment-cta p {
    margin-bottom: 1rem;
    color: var(--essa-earth-brown);
}

/* ===========================================
   LEARN & RESOURCES SECTION
============================================ */
.learn-section {
    background-color: var(--white);
    padding: 4rem 0;
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.learn-card {
    background: var(--essa-light-bg);
    padding: 1.5rem;
    border-radius: 4px;
    border-top: 4px solid var(--essa-earth-brown);
}

.learn-category {
    color: var(--essa-warm-ochre);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}

/* ===========================================
   JOIN / PARTICIPATE SECTION
============================================ */
.join-section {
    background-color: var(--essa-deep-green);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.join-section h2 {
    color: var(--white);
}

.join-description {
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.pathways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.pathway-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pathway-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--essa-warm-ochre);
}

.pathway-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* ===========================================
   UPDATED FOOTER
============================================ */
.site-footer {
    background-color: var(--essa-earth-brown);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
    filter: brightness(1.1);
}

.footer-brand > p:first-of-type {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.5;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-family: 'Source Sans Pro', sans-serif;
    max-width: 300px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--essa-warm-ochre);
    width: 20px;
    font-size: 1rem;
    margin-top: 0.1rem;
}

.contact-item strong {
    color: var(--white);
    font-weight: 600;
    margin-right: 0.3rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Merriweather', serif;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links li {
    margin-bottom: 0.2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ✅ Earth brown underline on hover for footer links */
.footer-links a:hover {
    color: var(--essa-warm-ochre);
}

.footer-links a:hover:after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--essa-warm-ochre);
    margin-top: 2px;
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--essa-warm-ochre);
    opacity: 0.7;
}

/* Social Media Section */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--essa-warm-ochre);
    color: var(--white);
}

.social-label {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom a {
    color: var(--essa-warm-ochre);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ===========================================
   ✅ MOBILE RESPONSIVENESS - ENHANCED
============================================ */
@media (max-width: 1100px) {
    .main-nav {
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.6rem;
    }
    
    .nav-link:hover:after {
        left: 0.6rem;
        right: 0.6rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    /* Mobile button adjustments */
    :root {
        --button-padding-vertical: 0.8rem;
        --button-padding-horizontal: 1.8rem;
        --button-font-size: 0.95rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .hero-actions a {
        margin: 0 auto;
        text-align: center;
        white-space: normal;
        line-height: 1.3;
    }
    
    /* Proof section tablet */
    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
    
    .proof-image-container {
        height: 200px;
    }
    
    .proof-content h3 {
        font-size: 1.2rem;
    }
    
    .proof-content {
        padding: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-brand > p:first-of-type {
        text-align: center;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-contact-info {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
}

 /* ✅ MOBILE HEADER */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--essa-deep-green);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        max-height: 75vh;
        overflow-y: auto;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .site-logo img {
        height: 60px;
    }
    
    .nav-link {
        font-size: 1.05rem;
        padding: 1rem 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
        width: 100%;
        border-radius: 0;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link:hover:after {
        left: 1.2rem;
        right: 1.2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .book-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .comments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .core-areas-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        padding: 3rem 0 3.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }
    
    .what-we-do-section {
        padding: 3rem 0;
    }
    
    .credibility-line {
        font-size: 0.8rem;
        margin-top: 0.3rem;
    }
}

@media (max-width: 768px) {
    .site-logo {
        gap: 0.5rem;
    }
    
    .header-inner {
        padding: 1.2rem 0;
    }
    
    /* Proof section mobile */
    .proof-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .proof-image-container {
        height: 220px;
    }
    
    .proof-card {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.7rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .pathways-grid {
        grid-template-columns: 1fr;
    }
    
    .academy-features {
        grid-template-columns: 1fr;
    }
    
    /* Small mobile button adjustments */
    :root {
        --button-padding-vertical: 0.7rem;
        --button-padding-horizontal: 1.5rem;
        --button-font-size: 0.9rem;
    }
    
    .hero-actions {
        gap: 0.8rem;
    }
    
    /* Proof section small mobile */
    .proof-section {
        padding: 3rem 0;
    }
    
    .proof-image-container {
        height: 180px;
    }
    
    .proof-content {
        padding: 1.2rem;
    }
    
    .proof-content h3 {
        font-size: 1.1rem;
    }
    
    .image-caption {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .placeholder-icon {
        font-size: 2.5rem;
    }
    
    .proof-grid,
    .comments-grid,
    .learn-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .comment-card {
        padding: 1.5rem;
    }
    
    .comment-card:before {
        top: 1rem;
        left: 1rem;
        font-size: 2.5rem;
    }
    
    .site-logo img {
        height: 55px;
    }
    
    .main-nav {
        padding: 1.2rem;
        gap: 0.3rem;
    }
    
    .nav-link {
        padding: 0.9rem 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links ul {
        align-items: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact-info {
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .what-we-do-section {
        padding: 2.5rem 0;
    }
    
    .core-area {
        padding: 1.5rem;
    }
    
    .core-area-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
}

@media (max-width: 400px) {
    /* Extra small screens - no width overrides */
}

/* ===========================================
   HERO BUTTON MOBILE FIX - SINGLE LINE NO WRAPPING
   ADDED AT THE END - NO OTHER CHANGES
=========================================== */
@media (max-width: 768px) {
    .hero-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: max-content !important;
        width: auto !important;
        overflow: visible !important;
        text-overflow: unset !important;
    }
    
    .hero-buttons {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 10px !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        justify-content: flex-start !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    
    .hero-buttons::-webkit-scrollbar {
        display: none !important;
        height: 0 !important;
        width: 0 !important;
    }
    
    .hero-btn:last-child {
        margin-right: 0 !important;
    }
}