/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 18px;
}

/* Navigation Styles */
.site-nav {
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    color: #a30069;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s ease;
    text-shadow:
        0 1px 2px rgba(255, 255, 255, 0.8),
        0 2px 4px rgba(255, 255, 255, 0.6),
        0 4px 8px rgba(255, 255, 255, 0.4);
}

.nav-menu a:hover,
.nav-menu a.nav-active {
    color: #5e2c7f;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100vw;
    height: 70vh;
    min-height: 400px;
    background-image: url('../content/images/2025/06/elephants-1.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 80px; /* Account for fixed nav */
}

.hero-image {
    display: none; /* Hide the img tag since we're using background */
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: white;
    text-align: center;
    width: 90%;
    max-width: 800px;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.1);
}

.hero-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

/* Subpage Hero Styles */
.sub-hero {
    background: linear-gradient(to right, #fdf1ff, #ffe9f2);
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    margin-top: 80px; /* Account for fixed nav */
}

/* Modern Hero with Shadow Background */
.modern-hero {
    background: linear-gradient(135deg, rgba(163, 0, 105, 0.9), rgba(80, 0, 50, 0.9)), linear-gradient(to right, #333, #555);
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    margin-top: 80px; /* Account for fixed nav */
    position: relative;
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="0.5" fill="white" opacity="0.05"/><circle cx="50" cy="70" r="1.5" fill="white" opacity="0.08"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.modern-hero .hero-heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
}

.modern-hero .hero-blurb {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 1rem;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 1;
}

.modern-hero .highlight {
    font-weight: 700;
    color: #ffe9f2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

/* Engagement Hero with Background Image */
.engagement-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../content/images/engagements.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    margin-top: 80px; /* Account for fixed nav */
}

.engagement-hero .hero-heading {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.engagement-hero .hero-blurb {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.engagement-hero .highlight {
    color: #ffe9f2;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.sub-hero .hero-heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.sub-hero .hero-blurb {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 1rem;
    color: #333;
}

.sub-hero .highlight {
    font-weight: 600;
    color: #a30069;
}

/* Mission Section */
.mission-copy {
    display: flex;
    justify-content: center;
    padding: 3rem 1.5rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.mission-wrapper {
    max-width: 900px;
    background: linear-gradient(to right, #fdf1ff, #ffe9f2);
    padding: 2.5rem;
    border-radius: 1.5rem;
    font-size: 1.4rem;
    line-height: 1.8;
    font-weight: 500;
    color: #333;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.mission-wrapper p {
    margin: 0;
}

/* Page container */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: linear-gradient(to bottom right, #f5e7ff, #fdd0d0);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card h2 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.5rem;
}

.card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card a {
    color: #a30069;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card a:hover {
    color: #d6336c;
}

/* Our Approach Full-Width Section */
.our-approach-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: linear-gradient(135deg, #a30069, #5e2c7f);
    padding: 4rem 0;
    margin-top: 3rem;
    margin-bottom: 2rem;
    color: white;
    text-align: center;
}

.our-approach-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.our-approach-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: 0.5px;
}

.our-approach-content p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.approach-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #a30069;
    border: 3px solid white;
    border-radius: 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0.25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.approach-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Key Areas Section */
.key-areas {
    margin: 4rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.key-area {
    background: linear-gradient(to bottom right, #fdf1ff, #ffe9f2);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.key-area:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.key-area-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #a30069;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.key-area-image {
    margin: 1.5rem 0;
    text-align: center;
}

.key-area-image img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.key-area-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1rem;
}

.key-area-content p:last-of-type {
    margin-bottom: 2rem;
}

.key-area-link {
    display: inline-block;
    color: #a30069;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.125rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #a30069;
    border-radius: 2rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.key-area-link:hover {
    background: #a30069;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* CTA Section */
.cta {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: linear-gradient(135deg, #d6336c, #a30069);
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 4rem;
    color: white;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: 0.5px;
}

.cta p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #a30069;
    border: 3px solid white;
    border-radius: 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0.25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Global CTA Footer Styling */
.cta-footer {
    display: flex;
    justify-content: center;
    padding: 3rem 1.5rem 4rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin: 0 -50vw;
}

.cta-box {
    background: linear-gradient(to right, #f5e1ff, #ffeaf5);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    max-width: 800px;
    width: 100%;
}

.cta-box h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #a30069;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #333;
}

.cta-box .cta-button {
    display: inline-block;
    background: white;
    color: #d6336c;
    border: 2px solid #d6336c;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.cta-box .cta-button:hover {
    background: #fff0f5;
    color: #a30069;
    border-color: #a30069;
}

/* Expertise Cards */
.expertise-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.exp-card {
    background: linear-gradient(to bottom right, #fdf1ff, #ffe9f2);
    border-radius: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.exp-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.exp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #a30069, #d6336c);
}

.exp-card img {
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    border-radius: 1rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.exp-card p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    margin: 1rem 0;
}

.exp-card strong {
    color: #a30069;
    font-weight: 600;
}

.exp-card summary {
    font-size: 1.5rem;
    font-weight: 700;
    color: #a30069;
    cursor: pointer;
    margin-bottom: 1rem;
    outline: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
}

.exp-card summary::-webkit-details-marker {
    display: none;
}

.exp-card[open] summary {
    margin-bottom: 1.5rem;
}

.icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Bio section wrapper */
.bio-section-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: linear-gradient(to right, #fdf1ff, #ffe9f2);
    padding: 4rem 0;
    margin-top: 0;
}

/* Bio section styles */
.bio-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1.5rem 0;
}

.bio-content {
    text-align: center;
}

.group-photo-container {
    margin-bottom: 2rem;
}

.group-photo {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.bio-heading {
    font-size: 3rem;
    font-weight: 800;
    color: #a30069;
    margin-bottom: 1rem;
}

.bio-intro {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

.bio-description, .bio-motto {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.bio-motto {
    font-weight: 500;
    font-style: italic;
}

h3 {
    font-size: 2rem;
    color: #a30069;
    margin: 3rem 0 2rem;
    font-weight: 700;
}

.individual-bios {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem auto;
    max-width: 900px;
    flex-wrap: nowrap;
}

.bio-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    flex: 1;
    max-width: 400px;
}

.bio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.bio-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: block;
    border: 5px solid #ffe9f2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bio-quote {
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
    text-align: left;
}

.bio-quote-attribution {
    font-weight: 700;
    color: #a30069;
    font-size: 1rem;
    margin-top: 1rem;
    text-align: right;
}

/* What we do section styles */
.what-we-do {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 700px;
    margin: 3rem auto 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 2px solid #ffe9f2;
}

.what-we-do-heading {
    font-size: 2rem;
    color: #a30069;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.what-we-do-intro, .what-we-do-outro {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.8;
}

.what-we-do-list {
    list-style-type: none;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.what-we-do-list li {
    background: linear-gradient(to right, #fdf1ff, #ffe9f2);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #a30069;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.what-we-do-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Chronicle content styles */
.chronicle-content h4 {
    color: #5e2c7f;
    font-size: 1.3rem;
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
}

.chronicle-content ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.chronicle-content li {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    line-height: 1.7;
}

.chronicle-content blockquote {
    background: #fff0f5;
    border-left: 4px solid #a30069;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    font-style: italic;
    font-size: 1.25rem;
    color: #5e2c7f;
}

.challenge, .solution, .results, .chronicle-section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 240, 245, 0.5);
    border-radius: 0.75rem;
}

/* Footer */
.site-footer {
    background: #f8f9fa;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        margin-top: 120px; /* Account for taller mobile nav */
        height: 60vh;
        min-height: 350px;
    }
    
    .sub-hero {
        margin-top: 120px;
        padding: 3rem 1rem 2rem;
    }
    
    .modern-hero {
        margin-top: 120px;
        padding: 3rem 1rem 2rem;
    }
    
    .hero-heading {
        font-size: 2rem;
    }
    
    .sub-hero .hero-heading {
        font-size: 2.5rem;
    }
    
    .modern-hero .hero-heading {
        font-size: 2.5rem;
    }
    
    .sub-hero .hero-blurb {
        font-size: 1.25rem;
    }
    
    .modern-hero .hero-blurb {
        font-size: 1.25rem;
    }
    
    .sub-hero {
        padding: 2rem 1rem;
    }
    
    .sub-hero .hero-blurb {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .results {
        padding: 0.75rem;
    }
    
    .results .grid, 
    .results div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }
    
    .mission-wrapper {
        font-size: 1.2rem;
        padding: 2rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta h2 {
        font-size: 1.75rem;
    }
    
    .bio-heading {
        font-size: 2.5rem;
    }
    
    .individual-bios {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .bio-card {
        max-width: 100%;
    }
    
    .what-we-do {
        padding: 2rem;
    }
    
    .our-approach-section {
        padding: 3rem 0;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
    
    .our-approach-content h2 {
        font-size: 2rem;
    }
    
    .our-approach-content p {
        font-size: 1.125rem;
    }
    
    .key-areas {
        margin: 2rem 0;
        gap: 2rem;
    }
    
    .key-area {
        padding: 2rem;
    }
    
    .key-area-content h3 {
        font-size: 1.5rem;
    }
    
    .key-area-content p {
        font-size: 1rem;
    }
}

/* Full-bleed wrapper */
.full-bleed-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}