/* story css */

.our-story-section {
    position: relative;
    padding: clamp(5rem, 10vw, 8rem) 2rem;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Background Image */
.our-story-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero_2.jpg') center/cover no-repeat;
    z-index: 1;
}

/* Dark overlay – stronger on mobile */
.our-story-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.74);
    z-index: 2;
    transition: background 0.4s ease;
}

/* Container matches your header exactly */
.our-story-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3.5rem;
    width: 100%;
    z-index: 10;
}

/* Content styling */
.our-story-content {
    max-width: 800px;
    color: #ffffff;
}

.our-story-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    line-height: 1.2;
}

.our-story-text {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    line-height: 1.8;
    margin-bottom: 1.8rem;
    opacity: 0.95;
}

.our-story-text:last-child {
    margin-bottom: 0;
}

/* responsive styles */

/* Tablet & below – center content + stronger overlay */
@media (max-width: 1024px) {
    .our-story-container {
        padding: 0 3rem;
    }

    .our-story-content {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .our-story-section {
        padding: clamp(4rem, 8vw, 6rem) 1.5rem;
    }

    .our-story-overlay {
        background: rgba(0, 0, 0, 0.75);
        /* Better readability on small screens */
    }

    .our-story-container {
        padding: 0 2rem;
    }

    .our-story-title {
        font-size: clamp(2.2rem, 7vw, 3rem);
        margin-bottom: 1.8rem;
    }

    .our-story-text {
        font-size: 1.05rem;
        line-height: 1.75;
    }
}

@media (max-width: 480px) {
    .our-story-container {
        padding: 0 1.5rem;
    }

    .our-story-title {
        font-size: 2.2rem;
    }

    .our-story-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Ultra-wide screens – keep alignment perfect */
@media (min-width: 1440px) {
    .our-story-container {
        padding: 0 3.5rem;
    }
}

@media (min-width: 1025px) and (max-width: 1140px) {
    .our-story-container {
            padding-left: 2rem;
        }
}

@media (min-width: 1141px) and (max-width: 1200px) {
    .our-story-container {
        padding-left: 2rem;
    }
}

@media (min-width: 1201px) and (max-width: 1300px) {
    .our-story-container {
        padding-left: 2rem;
    }
}
@media (min-width: 1301px) and (max-width: 1400px) {
    .our-story-container {
        padding-left: 2rem;
    }
}