/* Wrapper to push content below fixed navbar and add bottom breathing room */
.story-page-wrapper {
    padding-top: 8.5rem;          /* below navbar */
    padding-bottom: 4rem;
    padding-inline: 1.5rem;     /* safe side gutter on all screens */
    display: flex;
    justify-content: center;    /* centers inner content */
}

/* Fixed inner width so layout feels same on all screen sizes */
.story-inner {
    max-width: 920px;           /* tweak if you want slightly wider/narrower */
    width: 100%;
}

/* STORY SECTION */
.story {
    margin-bottom: 3rem;
}

.story h2 {
    color: #0E4961;
    font-weight: bold;
    padding-bottom: 5%;
}

@media (min-width: 768px) {
    .story h2 {
        padding-bottom: 3%;
    }
}

/* VISION SECTION */
.storyvision-section {
    color: #0E4961;
    margin-bottom: 3rem;
    width: 100%;                /* now controlled by .story-inner */
}

/* Accordions */
.xp-accordion-section {
    margin-top: 2rem;
    margin-bottom: 3rem;
    width: 100%;                /* full width inside .story-inner */
}

.xp-accordion {
    border: none;
    background: transparent;
}

.xp-accordion .accordion-item {
    border: none;
    background: #ECF3F9;
    border-radius: 14px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.xp-accordion .accordion-item:not(:first-of-type) {
    border-top: none;
}

.xp-accordion-btn {
    background: transparent;
    padding: 1.25rem 1.75rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: #00a1ff !important;
    box-shadow: none;
}

.xp-accordion-btn,
.xp-accordion-btn:not(.collapsed) {
    border-radius: 24px;
}

.xp-accordion-btn:not(.collapsed) {
    background: transparent;
    color: #00a1ff !important;
    box-shadow: none;
}

.xp-accordion-btn::after {
    filter: hue-rotate(180deg) brightness(0.7);
}

.xp-accordion-btn:focus,
.xp-accordion-btn:focus-visible,
.xp-accordion-btn:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

.xp-accordion-body {
    padding: 0 1.75rem 1.5rem;
    font-size: 0.95rem;
    color: #333;
}

.about-desc{
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 576px){
  .about-desc{
    font-size: 1rem;
    line-height: 1.55;
  }
  .card{
    border-radius: 12px;
    overflow: hidden;
  }
}
