

/* ======================================
   OUR STORY HERO
====================================== */
body.page-template-page-our-story .site-header {
    position: absolute;
    top: 0;
    width: 100%;
    background: transparent !important;
    box-shadow: none !important;
}
.our-story-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay gradient */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.55) 40%,
        rgba(0,0,0,0.25) 70%,
        rgba(0,0,0,0.05) 100%
    );
}

/* Content wrapper */
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Text block */
.hero-text {
    max-width: 700px;
    color: #ffffff;
    padding-top: 40px;
}

/* Section label */
.section-label {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color:#0E78BE;
    margin-bottom: 16px;
}

/* Main heading */
.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

/* Subheading */
.hero-text h2 {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 1.5rem;
    color: #e6f2ff;
}

/* Paragraph */
.hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.2rem;
    opacity: 0.95;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 18px;
}

.btn-primary_1 {
    background: #0E78BE;
    color: white;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-primary_1:hover {
    background: #0c65a2;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

/* Secondary */
.btn-secondary_1 {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-secondary_1:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

@media (max-width: 900px) {

    .our-story-hero {
        min-height: 90vh;
    }

    .hero-text {
        padding-top: 110px;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text h2 {
        font-size: 1.4rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 14px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 900px) {

    .hero-text {
        padding-top: 100px;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text h2 {
        font-size: 1.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 14px;
    }

    .btn-primary_1,
    .btn-secondary_1 {
        width: 100%;
        text-align: center;
    }
}

/* ======================================
   OUR STORY — NARRATIVE SECTION
====================================== */

.section {
    padding: 140px 0;
}

.our-story-narrative {
    background: #ffffff;
}

.narrative-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: start;
}

.narrative-heading h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0E1B2B;
}

.narrative-body p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #4b5563;
    margin-bottom: 1.8rem;
    max-width: 680px;
}

@media (max-width: 900px) {

    .section {
        padding: 80px 0;
    }

    .narrative-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .narrative-heading h2 {
        font-size: 2rem;
    }

    .narrative-body p {
        font-size: 1rem;
    }
}

/* ======================================
   OUR STORY — QUESTION SECTION
====================================== */

.our-story-question {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(242,211,119,0.12),
        rgba(218,101,134,0.08),
        rgba(14,120,190,0.08)
    );
    overflow: hidden;
}
.question-label{
    color:#0E78BE;
}
/* Soft depth glow */
.our-story-question::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: rgba(14,120,190,0.08);
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
}

.question-container {
    position: relative;
    z-index: 2;
}

.question-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: center;
}

.question-left h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #0E1B2B;
}

.question-left p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #4b5563;
    max-width: 600px;
}

/* Highlight box */
.question-highlight {
    position: relative;
    padding-left: 28px;
}

.highlight-accent {
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 120px;
    background: var(--action-pink);
    border-radius: 4px;
}

.question-highlight h3 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--steady-blue);
}
@media (max-width: 900px) {

    .question-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .question-left h2 {
        font-size: 2rem;
    }

    .question-left p {
        font-size: 1rem;
    }

    .question-highlight h3 {
        font-size: 1.8rem;
    }

    .highlight-accent {
        height: 80px;
    }
}

/* ======================================
   OUR STORY — BELIEF SECTION
====================================== */

.our-story-belief {
    background: #f7f9fc;
    position: relative;
}

.belief-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.belief-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(25px);
    border-radius: 32px;
    padding: 100px 80px;
    text-align: center;
    position: relative;

    /* Brand glow only */
    box-shadow:
        0 0 80px rgba(14,120,190,0.18),
        0 0 140px rgba(218,101,134,0.12),
        0 0 200px rgba(242,211,119,0.10);
}
@keyframes floatCard {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.belief-card {
    animation: floatCard 6s ease-in-out infinite;
}
.our-story-belief {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.our-story-belief.active {
    opacity: 1;
    transform: translateY(0);
}

/* Label */
.belief-label {
    color: #0E78BE;
    margin-bottom: 24px;
}

/* Main headline */
.belief-card h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: #0E1B2B;
}

/* Sub text */
.belief-sub {
    font-size: 2rem;
    color: #6b7280;
    margin-bottom: 3rem;
    font-style: normal;
}
/* Rotating word container */
.rotating-word-wrapper {
    position: relative;
    height: 90px;
    overflow: hidden;
}

/* Base word */
.rotating-word {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(25px);
    font-size: 3.8rem;
    font-weight: 800;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Brand cycling colors */
.rotating-word:nth-child(1) { color: var(--steady-blue); }
.rotating-word:nth-child(2) { color: var(--action-pink); }
.rotating-word:nth-child(3) { color: var(--common-yellow); }
.rotating-word:nth-child(4) { color: var(--steady-blue); }
.rotating-word:nth-child(5) { color: var(--action-pink); }
.rotating-word:nth-child(6) { color: var(--common-yellow); }

/* Active state */
.rotating-word.active {
    opacity: 1;
    transform: translateY(0);
}
.rotating-word.blue {
    color: #0E78BE;   /* Steady Blue */
}

.rotating-word.pink {
    color: #DA6586;   /* Action Pink */
}

.rotating-word.yellow {
    color: #F2D377;   /* Common Ground Yellow */
}
/* Exit animation */
.rotating-word.exit {
    opacity: 0;
    transform: translateY(-25px);
}
@media (max-width: 900px) {

    .belief-card {
        padding: 60px 30px;
    }

    .belief-card h2 {
        font-size: 2rem;
    }

    .belief-sub {
        font-size: 1.3rem;
    }

    .rotating-word {
        font-size: 2rem;
    }

    .rotating-word-wrapper {
        height: 60px;
    }
}

/* ======================================
   OUR STORY — CLOSURE SECTION
====================================== */

.our-story-closure {
    background: #ffffff;
}

.closure-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.closure-label {
    color: #0E78BE;
    margin-bottom: 40px;
}

.closure-content p {
    font-size: 1.2rem;
    line-height: 2;
    color: #374151;
    margin-bottom: 2.5rem;
}

/* Final highlighted ending */
.closure-highlight {
    font-weight: 600;
    font-size: 1.3rem;
    color: #0E78BE;
}
/* ======================================
   OUR STORY — REFINED CLOSURE
====================================== */

.our-story-closure {
    position: relative;
    padding: 160px 0;
    background: #ffffff;
    overflow: hidden;
}

/* Subtle brand glow in background */
.our-story-closure::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(14,120,190,0.08),
        rgba(218,101,134,0.05),
        transparent 70%
    );
    filter: blur(100px);
    z-index: 0;
}

.closure-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: start;
}

/* Left headline */
.closure-left h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0E1B2B;
}

/* Yellow underline accent */
.closure-underline {
    width: 90px;
    height: 6px;
    background: #F2D377;
    margin-top: 30px;
    border-radius: 4px;
}

/* Right content */
.closure-right p {
    font-size: 1.15rem;
    line-height: 2;
    color: #374151;
    margin-bottom: 2rem;
}

/* Emphasis strip (NOT full card) */
.closure-emphasis {
    margin-top: 100px;
    text-align: center;
}

.closure-emphasis p {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 600;
    color: #0E78BE;
    padding: 16px 30px;
    border-radius: 40px;
    background: rgba(14,120,190,0.08);
}

@media (max-width: 900px) {

    .our-story-closure {
        padding: 100px 0;
    }

    .closure-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .closure-left h2 {
        font-size: 2.2rem;
    }

    .closure-right p {
        font-size: 1rem;
    }

    .closure-emphasis p {
        font-size: 1.1rem;
        padding: 12px 20px;
    }
}
