/* ===== Vision & Mission Page Styles – Redesigned ===== */

/* ---- Split Section (Vision / Mission) – full-width, text in container ---- */
.split-section {
    display: flex;
    min-height: 600px;
}

.split-section--reversed {
    flex-direction: row-reverse;
}

.split-image {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.split-section:hover .split-image img {
    transform: scale(1.04);
}

.split-content {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
}

/* Vision: text on right  → inner pushed to left (center of page) */
.split-section--vision .split-content {
    justify-content: flex-start;
}

/* Mission: text on left (reversed) → inner pushed to right (center) */
.split-section--reversed .split-content {
    justify-content: flex-end;
}

.split-content--blue  { background: var(--gradient-primary); }
.split-content--light { background: #f0f7fc; }

/*
  Inner wrapper: max-width half of container (600px) minus outer page padding.
  padding-left/right of 60px acts as the gutter matching the container edge.
*/
.split-content-inner {
    width: 100%;
    max-width: 750px;
    padding: 60px 60px 60px 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Vision inner: align to center-line of page (right side of container) */
.split-section--vision .split-content-inner {
    padding-left: 64px;
    padding-right: 80px;
}

/* Mission inner (reversed): align to center-line of page (left side) */
.split-content-inner--right {
    padding-left: 80px;
    padding-right: 64px;
}

/* Tag pill */
.split-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    width: fit-content;
}

.split-tag--dark {
    background: rgba(0, 137, 208, 0.12);
    color: var(--primary-color);
}

/* Title */
.split-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    margin: 0;
}

.split-title--dark {
    color: var(--primary-dark);
}

/* Body text */
.split-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.split-text--dark {
    color: #555;
}

/* Badge */
.split-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    width: fit-content;
    margin-top: 4px;
}

.split-badge--blue {
    background: rgba(0, 137, 208, 0.1);
    color: var(--primary-color);
    border-color: rgba(0, 137, 208, 0.25);
}

/* ---- Core Values Section ---- */
.core-values-section {
    padding: 80px 0 90px;
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.cv-bg-overlay {
    position: absolute;
    inset: 0;
    background: url('../images/water-background-with-ripples.jpg') center/cover no-repeat;
    opacity: 0.08;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1ab0fb;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.section-title::after, .section-divider {
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, #1ab0fb, #fff);
    border-radius: 2px;
    margin: 0 auto;
}

/* ---- Value Tiles ---- */
.value-tile {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 36px 28px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.value-tile:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.value-tile-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.value-tile-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: transform 0.4s ease;
}

.value-tile:hover .value-tile-icon {
    transform: rotate(-8deg) scale(1.1);
}

.value-tile--1 .value-tile-icon { background: rgba(26, 176, 251, 0.2); color: #1ab0fb; }
.value-tile--2 .value-tile-icon { background: rgba(52, 211, 153, 0.2); color: #34d399; }
.value-tile--3 .value-tile-icon { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }
.value-tile--4 .value-tile-icon { background: rgba(248, 113, 113, 0.2); color: #f87171; }

.value-tile-num {
    font-size: 2.8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
}

.value-tile-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
    margin: 0;
}

.value-tile-text {
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
    flex: 1;
}

.value-tile-line {
    height: 3px;
    border-radius: 2px;
    margin-top: 6px;
    transition: width 0.4s ease;
    width: 40px;
}

.value-tile:hover .value-tile-line { width: 80px; }

.value-tile--1 .value-tile-line { background: #1ab0fb; }
.value-tile--2 .value-tile-line { background: #34d399; }
.value-tile--3 .value-tile-line { background: #fbbf24; }
.value-tile--4 .value-tile-line { background: #f87171; }

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .split-section,
    .split-section--reversed {
        flex-direction: column;
    }

    .split-image {
        flex: 0 0 280px;
        height: 280px;
    }

    .split-content {
        flex: unset;
        width: 100%;
        justify-content: flex-start !important;
    }

    .split-content-inner,
    .split-content-inner--right {
        max-width: 100%;
        padding: 40px 36px !important;
    }

    .split-title {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .split-content-inner,
    .split-content-inner--right {
        padding: 32px 24px !important;
    }

    .split-title {
        font-size: 1.4rem;
    }

    .value-tile {
        padding: 28px 22px;
    }
}
