/* =========================================================
   OUR STORY PAGE CSS - REFINED PROFESSIONAL EDITION
   ========================================================= */

/* Global Smoothness & Base Settings */
body.our-story-page {
    background-color: #fcfdfe;
    color: #334155;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Intro Heading Section ---------- */
.text-layout-head {
    margin-top: 40px;
    margin-bottom: 25px;
}

.section-main-title {
    font-size: 40px;
    font-weight: 800;
    color: #0f172a;
    /* Deep Slate Blue */
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.story-intro {
    max-width: 820px;
    font-size: 19px;
    line-height: 1.75;
    color: #475569;
    /* Balanced slate text */
    font-weight: 400;
}

/* ---------- Common Section Spacing ---------- */
.story-main-section,
.story-banner-section,
.story-specialization-section {
    padding-bottom: 80px;
}

/* ---------- Main Story Card ---------- */
.story-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.07);
    position: relative;
    overflow: hidden;
}

.story-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #00B8C4 0%, #0f766e 100%);
    /* Emerald Teal Accent */
}

.story-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    /* Modern squircle geometry */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #2dd4bf;
    /* Mint active green */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.story-content p {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.85;
    color: #475569;
}

.story-content strong {
    color: #0f172a;
    font-weight: 700;
}

.story-content em {
    color: #00B8C4;
    /* Professional Brand Teal */
    font-style: normal;
    font-weight: 600;
    border-bottom: 1px dashed rgba(13, 148, 136, 0.3);
    padding-bottom: 1px;
}

.story-closing {
    margin-top: 35px;
    padding-top: 30px;
    font-size: 17px;
    line-height: 1.85;
    color: #334155;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* ---------- Values Inside Main Card ---------- */
.story-values {
    margin-top: 40px;
    margin-bottom: 20px;
}

.value-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 148, 136, 0.3);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
}

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(13, 148, 136, 0.08);
    color: #00B8C4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-card h4 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    color: #0f172a;
}

.value-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #64748b;
}

/* ---------- Banner Card ---------- */
.story-banner-card {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.story-banner-card img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

/* ---------- Specialization Cards ---------- */
.specialization-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 45px 40px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(15, 23, 42, 0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.specialization-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 23, 42, 0.15);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}

.specialization-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #00B8C4 0%, #0f766e 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.2);
}

.specialization-card h3 {
    margin: 0 0 16px;
    font-size: 25px;
    line-height: 1.35;
    font-weight: 700;
    color: #0f172a;
}

.specialization-card p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
}

/* ---------- Approach Section Base Layout ---------- */
.bg-light-blue {
    background-color: #f8fafc;
    /* Sleek Off-white/slate tint */
    border-top: 1px solid rgba(15, 23, 42, 0.04);
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading h2 {
    margin: 0 0 14px;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.section-heading p {
    margin: 0 auto;
    max-width: 650px;
    font-size: 17px;
    line-height: 1.75;
    color: #64748b;
}

/* ---------- Approach Step Process Cards ---------- */
.approach-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 35px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.approach-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.05);
}

.approach-number {
    display: inline-block;
    margin-bottom: 16px;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.05);
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.approach-card h4 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 700;
    color: #0f172a;
}

.approach-card p {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
}

.approach-card ul {
    margin: 0;
    padding-left: 18px;
}

.approach-card ul li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
}

/* ---------- Micro Grid Alignment System Fixes ---------- */
.approach-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.approach-column {
    display: flex;
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 30px;
    width: 50%;
    /* Defaults for md layouts layout */
}

.approach-column .approach-card,
.approach-column .value-card,
.approach-column .specialization-card {
    width: 100%;
}

/* ---------- Responsive Viewport Control System ---------- */
@media (max-width: 991px) {
    .story-card {
        padding: 45px 35px;
    }

    .specialization-card {
        padding: 35px 30px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .specialization-card h3 {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .approach-column {
        width: 100%;
    }

    .story-main-section,
    .story-banner-section,
    .story-specialization-section {
        padding-bottom: 50px;
    }

    .story-card {
        padding: 35px 24px;
        border-radius: 18px;
    }

    .section-main-title {
        font-size: 32px;
    }

    .story-intro {
        font-size: 16px;
    }

    .value-card,
    .specialization-card,
    .approach-card {
        padding: 28px 24px;
    }

    .section-heading h2 {
        font-size: 26px;
    }
}