/* ========================================
   Our Story Section Styles
   Using Brand Theme Colors from style.css
   ======================================== */

.our-story {
    background: var(--gradient-bg);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.our-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, var(--yellow-lightest) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--green-lightest) 0%, transparent 50%);
    pointer-events: none;
}

.our-story .story-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Section Header */
.our-story .story-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.our-story .badge {
    margin: 0 auto 1rem;
}

.our-story .story-header h2 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.our-story .highlight-teal {
    color: var(--yellow-primary);
    position: relative;
}

.our-story .story-intro {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==================== NEW LAYOUT STYLES ==================== */

/* Hero Image Section */
.our-story .story-hero-section {
    margin-bottom: 4rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
}

.our-story .hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
}

.our-story .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.our-story .hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    opacity: 1;
}

.our-story .story-icon.heart {
    background: var(--green-primary);
    box-shadow: 0 8px 20px rgba(0, 146, 68, 0.3);
}

.our-story .story-icon.award {
    background: var(--red-primary);
    box-shadow: 0 8px 20px rgba(235, 28, 36, 0.3);
}

.our-story .hero-content {
    color: white;
}

.our-story .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: max-content;
}

.our-story .hero-badge i {
    color: var(--yellow-primary);
    font-size: 1.2rem;
}

.our-story .hero-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

/* Story Introduction Section (Split Layout) */
.our-story .story-intro-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: center;
}

.our-story .intro-text h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.our-story .intro-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.our-story .story-quote-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-left: 6px solid var(--yellow-primary);
    position: relative;
}

.our-story .story-quote-card i {
    font-size: 3rem;
    color: var(--yellow-primary);
    margin-bottom: 1.5rem;
    display: block;
}

.our-story .quote-text {
    font-size: 1.25rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.our-story .quote-author {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-gray);
    margin: 0;
}

/* Milestone Cards Grid - 3 Column Layout */
.our-story .milestone-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 0rem;
}

.our-story .story-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.our-story .story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.our-story .story-icon {
    width: 80px;
    height: 80px;
    background: var(--yellow-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(252, 195, 0, 0.3);
}

.our-story .story-icon.icon-blue {
    background: var(--green-primary);
    box-shadow: 0 8px 20px rgba(0, 146, 68, 0.3);
}

.our-story .story-icon.icon-green {
    background: var(--red-primary);
    box-shadow: 0 8px 20px rgba(235, 28, 36, 0.3);
}

.our-story .story-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.our-story .story-card p {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Milestones Timeline */
.our-story .milestones-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 4rem;
    border-radius: 24px;
    margin-bottom: 4rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.our-story .milestones-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.our-story .milestones-title i {
    color: var(--yellow-primary);
    font-size: 2rem;
}

.our-story .timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 0;
}

.our-story .timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow-primary) 0%, var(--green-primary) 50%, var(--red-primary) 100%);
    border-radius: 2px;
    z-index: 0;
}

.our-story .timeline-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.our-story .timeline-dot {
    width: 24px;
    height: 24px;
    background: white;
    border: 5px solid var(--yellow-primary);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 0 8px var(--yellow-lightest);
    transition: all 0.3s ease;
}

.our-story .timeline-item:nth-child(2) .timeline-dot {
    border-color: var(--green-primary);
    box-shadow: 0 0 0 8px var(--green-lightest);
}

.our-story .timeline-item:nth-child(3) .timeline-dot {
    border-color: var(--yellow-primary);
    box-shadow: 0 0 0 8px var(--yellow-lightest);
}

.our-story .timeline-item:nth-child(4) .timeline-dot {
    border-color: var(--green-primary);
    box-shadow: 0 0 0 8px var(--green-lightest);
}

.our-story .timeline-item:nth-child(5) .timeline-dot {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 8px var(--red-lightest);
}

.our-story .timeline-item:hover .timeline-dot {
    transform: scale(1.3);
}

.our-story .timeline-content {
    text-align: center;
    max-width: 200px;
}

.our-story .timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--yellow-primary) 0%, var(--yellow-light) 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(252, 195, 0, 0.3);
}

.our-story .timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.our-story .timeline-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Story Stats Bar */
.our-story .story-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.our-story .stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--yellow-lightest) 0%, var(--green-lightest) 100%);
    transition: all 0.3s ease;
}

.our-story .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.our-story .stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--yellow-primary) 0%, var(--green-primary) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(252, 195, 0, 0.3);
}

.our-story .stat-content h4 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    line-height: 1;
}

.our-story .stat-content p {
    font-size: 1rem;
    color: var(--text-gray);
    margin: 0.5rem 0 0 0;
    font-weight: 500;
}

/* Responsive Design for Our Story Section */
@media (max-width: 1024px) {
    .our-story .story-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .our-story .story-intro-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .our-story .milestone-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .our-story .hero-image-wrapper {
        height: 350px;
    }

    .hero-content h3 {
        font-size: 2rem;
    }

    .our-story .timeline {
        flex-direction: column;
        gap: 2rem;
    }

    .our-story .timeline::before {
        top: 0;
        left: 40px;
        right: auto;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, var(--yellow-primary) 0%, var(--green-primary) 50%, var(--red-primary) 100%);
    }

    .our-story .timeline-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .our-story .timeline-dot {
        margin-bottom: 0;
        margin-right: 2rem;
    }

    .our-story .timeline-content {
        text-align: left;
        max-width: 100%;
    }

    .our-story .story-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .our-story {
        padding: 4rem 2rem;
    }

    .our-story .story-intro {
        font-size: 1rem;
    }

    .our-story .hero-image-wrapper {
        height: 250px;
    }

    .our-story .hero-content h3 {
        font-size: 1.5rem;
    }

    .our-story .milestones-section {
        padding: 2rem 1.5rem;
    }

    .our-story .milestones-title {
        font-size: 1.8rem;
    }

    .our-story .story-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding: 32px 24px;
    }

    .our-story .story-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .our-story .story-hero-section {
        margin-bottom: 2rem;
    }

    .our-story .intro-text h3 {
        margin-bottom: 0.5rem;
    }

    .our-story .intro-text p {
        margin-bottom: 0.5rem;
    }

    .our-story .story-intro-section {
        margin-bottom: 2rem;
    }

    .our-story .milestones-section {
        margin-bottom: 2rem;
    }
    
}

@media (max-width: 640px) {
    .our-story {
        padding: 3rem 1.5rem;
    }

    .our-story .timeline-dot {
        flex: 0 0 24px;
    }

    .our-story .story-stats {
        grid-template-columns: 1fr;
    }

    .our-story .intro-text h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .our-story .story-card {
        padding: 1.5rem;
    }

    .our-story .stat-item {
        flex-direction: column;
        text-align: center;
    }

    .our-story .stat-content h4 {
        font-size: 1.8rem;
    }
}