/* =============================================
   MY STORY SECTION
   ============================================= */
.my-story {
    padding: 80px 0;
    background-color: var(--background-color, #020617);
    position: relative;
    overflow: hidden;
}

.my-story .container {
    max-width: var(--max-width);
}

/* ---- Two-column layout ---- */
.my-story-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

/* =============================================
   IMAGE COLUMN
   ============================================= */
.my-story-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.my-story-image img {
  
  display: block;


}



/* =============================================
   CONTENT COLUMN
   ============================================= */
.my-story-content-wrapper {
    position: relative;
    /* Extra top padding so the absolutely-positioned quote icon 
       on desktop doesn't clip outside visible area */
    padding-top: 50px;
}

/* ---- Decorative quote icon (desktop only, absolute) ---- */
.my-story-header-image {
    position: absolute;
    top: -30px;
    left: -20px;
    pointer-events: none;
}

.my-story-header-image img {
    width: 90px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.my-story-header-image img:hover {
    opacity: 1;
}

/* ---- Badge + Heading ---- */
.my-story-header {
    margin-bottom: 24px;
}

.my-story-header .tag {
    color: var(--primary-color, #00E5FF);
    font-size: 0.78rem;
    letter-spacing: 2px;
    display: inline-block;
    margin-left: 30px;
    font-weight: 700;
    text-transform: uppercase;
}

.my-story-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    margin: 14px 0 0;
    color: var(--white-color, #fff);
    font-family: var(--font-family, 'Days One', sans-serif);
    line-height: 1.2;
}

/* ---- Body content ---- */
.my-story-content {
    font-family: var(--text-font, 'Noto Serif', serif);
    font-size: 1rem;
    line-height: 1.75;
    color: #cbd5e1;
}

.my-story-content p {
    margin-bottom: 18px;
}

.my-story-content p:last-child {
    margin-bottom: 0;
}

/* =============================================
   RESPONSIVE — Tablet (≤ 991px)
   Switch to single column, image on top
   ============================================= */
@media (max-width: 991px) {
    .my-story {
        padding: 60px 0;
    }

    .my-story-wrapper {
        grid-template-columns: 1fr;   /* single column */
        gap: 40px;
    }

    /* Show image BELOW the text on mobile (content first) */
    .my-story-image {
        order: 2;
    }

    .my-story-content-wrapper {
        order: 1;
        /* Reset the desktop padding-top — use static positioning for quote icon */
        padding-top: 0;
    }

    /* Pull the quote icon out of absolute flow on mobile — make it inline */
    .my-story-header-image {
        position: static;
        display: block;
        margin-bottom: 12px;
    }

    .my-story-header-image img {
        width: 64px;
    }

    /* Reset the tag margin that assumed icon was absolutely placed */
    .my-story-header .tag {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .my-story {
        padding: 50px 0;
    }

    .my-story-wrapper {
        gap: 32px;
    }

    .my-story-image img {
        max-width: 100%;
        border-radius: 12px;
    }

    .my-story-header {
        margin-bottom: 18px;
    }

    .my-story-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .my-story-content p {
        margin-bottom: 14px;
    }

    .my-story-header-image img {
        width: 56px;
    }
}

@media (max-width: 576px) {
    .my-story {
        padding: 40px 0;
    }

    .my-story-wrapper {
        gap: 28px;
    }

    .my-story-content {
        font-size: 0.92rem;
    }

    .my-story-header-image img {
        width: 48px;
        margin-bottom: 8px;
    }
}

@media (max-width: 380px) {
    .my-story {
        padding: 32px 0;
    }

    .my-story-content {
        font-size: 0.88rem;
        line-height: 1.65;
    }
}
