* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: #2c3e50;
    overflow-x: hidden;
    background: #f8fafc;
}

/* Hero Section */
.story-hero {
    position: relative;
    min-height: 110vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding-top: 120px;
}

.story-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://res.cloudinary.com/dzdinuw5d/image/upload/v1754036192/front-2_ggpeur.png') no-repeat center center/cover;
    z-index: -2;
}

.story-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.6), transparent);
    z-index: -1;
}

.hero-content {
    max-width: 1100px;
    width: 90%;
    padding: 2.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    color: #333;
    font-size: 0.85rem;
    border: 1px solid #ddd;
    margin-bottom: 1.75rem;
    transition: transform 0.3s ease;
}

.badge:hover {
    transform: scale(1.05);
}

.badge-icon {
    color: #2f7b3e;
    font-size: 0.9rem;
}

h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: #111;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 span {
    font-family: 'Great Vibes', cursive;
    font-size: 4.2rem;
    color: #2f7b3e;
    display: block;
    margin-top: 0.3em;
}

.description {
    margin-top: 2rem;
    font-size: 1.2rem;
    color: #333;
    max-width: 650px;
    line-height: 1.7;
    font-weight: 400;
}

/* Story Content */
.story-content {
    background: linear-gradient(135deg, #f8fffe 0%, #e9f4e9 50%, #f5faf5 100%);
}

.story-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 7rem 2rem;
}

/* Journey Section */
.journey-section {
    text-align: center;
    margin-bottom: 5rem;
    padding: 3.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(47, 123, 62, 0.15);
    transition: transform 0.4s ease;
}

.journey-section:hover {
    transform: translateY(-5px);
}

.section-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #1e3a2e;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #2f7b3e, #4a9c5c);
    border-radius: 1.5px;
}

.journey-intro {
    font-size: 1.3rem;
    color: #4a5568;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.9;
    font-weight: 400;
    padding: 1.75rem;
    background: rgba(47, 123, 62, 0.04);
    border-radius: 12px;
    border-left: 3px solid #2f7b3e;
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 5rem auto;
    padding: 3rem 1.5rem;
    overflow: hidden;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, #2f7b3e, #4a9c5c);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    box-shadow: 0 0 8px rgba(47, 123, 62, 0.2);
}

.timeline-item {
    padding: 1.5rem 2rem;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(47, 123, 62, 0.03));
    border-radius: 12px;
    margin: 2rem 0;
    width: 47%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.timeline-item:nth-child(odd) {
    float: left;
    clear: both;
}

.timeline-item:nth-child(even) {
    float: right;
    clear: both;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #2f7b3e, #4a9c5c);
    border: 3px solid #fff;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 8px rgba(47, 123, 62, 0.4);
    transition: transform 0.3s ease;
}

.timeline-item:hover::after {
    transform: scale(1.15);
}

.timeline-item:nth-child(odd)::after {
    right: -8px;
}

.timeline-item:nth-child(even)::after {
    left: -8px;
}

.year {
    background: linear-gradient(135deg, #2f7b3e, #4a9c5c);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 0.95rem;
}

.location {
    color: #1e3a2e;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.description {
    margin: 0;
    color: #4a5568;
    font-size: 1.15rem;
    line-height: 1.8;
}

.visit {
    color: #2f7b3e;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.visit:hover {
    color: #4a9c5c;
    text-decoration: underline;
}

.timeline-item::before {
    content: '\f06c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    color: #2f7b3e;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.timeline-item:hover::before {
    opacity: 0.3;
    transform: translateX(-50%) scale(1);
}

@media (max-width: 600px) {
    .timeline::after {
        left: 15px;
    }

    .timeline-item {
        width: 85%;
        margin-left: 30px;
        float: none;
    }

    .timeline-item::after {
        left: -8px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        float: none;
    }
}

/* Gallery Section */
.gallery-section {
    margin: 7rem 0 5rem;
    text-align: center;
    clear: both;
}

.enhanced-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3.5rem 0;
    perspective: 1200px;
    padding: 8px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    background: white;
    height: 300px;
}

.gallery-item:hover {
    transform: translateY(-15px) rotateX(4deg) rotateY(4deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 1.5px solid #2f7b3e;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.15) contrast(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(47, 123, 62, 0.85));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 2px solid #90EE90;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.95;
}

/* Mission Section */
.mission-section {
    margin: 4rem auto;
    padding: 3rem 2rem;
    max-width: 900px;
    background: linear-gradient(135deg, #2f7b3e, #1e3a2e);
    text-align: center;
    color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.mission-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.mission-section h2 {
    font-size: clamp(2.5rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
    font-family: 'Great Vibes', cursive;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.mission-section p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Values Section */
.values-section {
    text-align: center;
    margin: 5rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 8px;
    margin: 3.5rem 0;
}

.value-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(47, 123, 62, 0.08), transparent);
    transition: left 0.5s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2f7b3e, #4a9c5c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(47, 123, 62, 0.25);
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.08);
}

.value-icon i {
    color: white;
    font-size: 1.8rem;
}

.value-card h3 {
    font-size: 1.5rem;
    color: #1e3a2e;
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
}

/* Team Section */
.team-section {
    margin: 5rem 0;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 3.5rem 0;
}

.team-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

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

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2f7b3e, #4a9c5c);
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 20px rgba(47, 123, 62, 0.25);
}

.team-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.team-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin: 7rem 0 5rem;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(47, 123, 62, 0.08), rgba(74, 156, 92, 0.04));
    border-radius: 25px;
    border: 1px solid rgba(47, 123, 62, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(47, 123, 62, 0.04) 0%, transparent 70%);
    transform: rotate(45deg);
}

.btn-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #2f7b3e 0%, #1e5a2e 100%);
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(47, 123, 62, 0.25);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.btn-enhanced:hover::before {
    left: 100%;
}

.btn-enhanced:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 40px rgba(47, 123, 62, 0.4);
}

.btn-enhanced i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.2rem;
    }

    h1 span {
        font-size: 3.6rem;
    }

    .description {
        font-size: 1.1rem;
    }

    .timeline {
        max-width: 100%;
    }

    .timeline-item {
        width: 85%;
    }
}

@media (max-width: 768px) {
    .story-hero {
        min-height: 80vh;
        padding: 2rem 1rem;
        text-align: center;
    }

    h1 {
        font-size: 2.2rem;
    }

    h1 span {
        font-size: 2.5rem;
    }

    .description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .story-container {
        padding: 3rem 1rem;
    }

    .enhanced-gallery {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 8px;
    }

    .mission-section h2,
    .section-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .mission-section p {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 0.5rem;
    }

    .timeline::after {
        content: none;
    }
}

@media (max-width: 480px) {
       .story-hero {
        min-height: 100vh;
        padding: 2rem 1rem;
        text-align: center;
    }
    .hero-content {
        padding: 1rem 0.8rem;
        text-align: center;
    }

    h1 {
        font-size: 1.8rem;
    }

    h1 span {
        font-size: 2rem;
    }

    .description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .story-container {
        padding: 2rem 0.8rem;
    }

    .values-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 8px;
    }

    .mission-section {
        padding: 2.5rem 1rem;
        margin: 2rem 0;
    }

    .journey-section {
        padding: 1.2rem 0.8rem;
    }

    .cta-section {
        padding: 2rem 1rem;
        margin: 4rem 0 2rem;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }
}
