/* Story Page Specific Styles */
:root {
    --accent-green: #B4F461;
    --accent-dark: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.2);
    --soft-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Nav Styles */
.story-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
/* Ensure the body doesn't collapse */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}
.story-container {
    padding-top: 100px;
}
.story-hero {
    min-height: 80vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 120px 8% 60px;
    position: relative;
    z-index: 5;
}
.back-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    transition: all 0.3s ease;
}
.back-link:hover {
    opacity: 1;
    transform: translateX(-5px);
}

/* Story Badge */
.story-badge {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.story-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 24px;
}
.story-title .highlight {
    color: #1a1a1a;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}
.story-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--accent-green);
    z-index: -1;
}
.story-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #555;
    max-width: 500px;
}

/* Image Frame */
.story-hero-image {
    position: relative;
}
.image-frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
}
.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}
.image-frame:hover img {
    transform: scale(1.05);
}
.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: #B4F461;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(180, 244, 97, 0.4);
    transform: rotate(5deg);
    z-index: 2;
}
.experience-badge .years {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}
.experience-badge .label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a1a;
}

/* Body Content */
.story-content {
    padding: 80px 8%;
    max-width: 900px;
    margin: 0 auto;
}
.block-title {
    font-size: 32px;
    margin-bottom: 24px;
    font-weight: 700;
}
.content-block {
    margin-bottom: 60px;
}
.content-block p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333;
}

/* Quote Block */
.quote-block {
    margin: 80px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    border-left: 8px solid var(--accent-green);
    position: relative;
}
.quote-icon {
    font-size: 40px;
    color: var(--accent-green);
    margin-bottom: 15px;
    opacity: 0.5;
}
blockquote {
    font-size: 26px;
    font-weight: 700;
    font-style: italic;
    color: #1a1a1a;
    line-height: 1.4;
}

/* Mission Section */
.story-mission {
    padding: 80px 8%;
    background: #1a1a1a;
    color: white;
    border-radius: 60px;
    margin: 0 4% 80px;
}
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.mission-card {
    text-align: center;
}
.mission-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-green);
    color: #1a1a1a;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 24px;
}
.mission-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}
.mission-card p {
    font-size: 16px;
    opacity: 0.8;
}

/* CTA */
.story-cta {
    padding: 100px 8%;
    text-align: center;
}
.cta-inner {
    max-width: 700px;
    margin: 0 auto;
}
.cta-inner h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 24px;
}
.cta-inner p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}
.story-btn-primary {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    padding: 20px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.story-btn-primary:hover {
    background: #B4F461;
    color: #1a1a1a;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(180, 244, 97, 0.3);
}

/* Footer & Animation Classes */
.story-footer {
    padding: 40px;
    text-align: center;
    opacity: 0.5;
    font-size: 14px;
}

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

/* Responsive */
@media (max-width: 968px) {
    .story-hero {
        grid-template-columns: 1fr;
        padding-top: 140px;
    }
    .story-hero-image {
        order: -1;
    }
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .story-nav {
        padding: 20px 5%;
        width: 90%;
    }
}
@media (max-width: 480px) {
    .story-title { font-size: 2.8rem; }
    .quote-block blockquote { font-size: 20px; }
}
