/* ==========================================================================
   Aberdeen Holdings - About Us Styles
   Theme: Archivo font, Primary Cyan (#1bbfdd), Primary Dark (#014f6e)
   ========================================================================== */

/* Page Background Configuration */
body.about-page {
    color: #ffffff;
    min-height: 100vh;
}

/* Full-Width Hero Banner (Edge-to-Edge) */
.about-hero-fullwidth {
    position: relative;
    width: 100%;
    min-height: 82vh;
    display: flex;
    align-items: flex-end;
    padding-top: 180px;
    padding-bottom: 85px;
    overflow: hidden;
}

/* Background photo layer (slow zoom-out) */
.about-hero-fullwidth::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/images/about-banner.jpg');
    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.15);
    animation: heroZoom 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Brands page banner image */
.brands-page .about-hero-fullwidth::before,
.about-hero-fullwidth.sectors-banner::before {
    background-image: url('../assets/images/sectors-banner.jpg');
    background-position: center 48%;
}

/* Vignette & High-Contrast Gradient Overlay */
.about-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(3 10 18 / 18%) 0%, rgba(3, 10, 18, 0.25) 38%, rgba(3, 10, 18, 0.45) 60%, rgb(3 10 18 / 7%) 100%), linear-gradient(90deg, rgb(3 10 18 / 48%) 0%, rgba(3, 10, 18, 0.2) 55%, rgba(3, 10, 18, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Hero Content Container Alignment */
.about-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Banner Content Flex Layout */
.about-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    width: 100%;
}

/* Left Column: Breadcrumb, Title, Subtitle */
.about-banner-left {
    width: 100%;
    position: relative;
}

.about-banner-title {
    font-size: clamp(34px, 4.5vw, 54px);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.12;
    margin: 0 0 16px 0;
}

.about-banner-desc {
    font-size: 17px;
    line-height: 1.6;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    max-width: 620px;
}

/* Right Column: Talk to an Expert Button */
.about-banner-right {
    flex-shrink: 0;
    margin-bottom: 6px;
}

.about-banner-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 36px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--color-primary-dark, #014f6e) 0%, #036891 40%, var(--color-primary-cyan, #1bbfdd) 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(27, 191, 221, 0.5);
    box-shadow: 0 6px 22px rgba(27, 191, 221, 0.38), 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.about-banner-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(27, 191, 221, 0.55), 0 4px 12px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, var(--color-primary-cyan, #1bbfdd) 0%, var(--color-primary-dark, #014f6e) 100%);
    border-color: rgba(255, 255, 255, 0.85);
    color: #ffffff;
}

/* ===== Banner load animation ===== */
@keyframes heroZoom {
    from {
        transform: scale(1.15);
    }

    to {
        transform: scale(1);
    }
}

@keyframes heroOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(34px);
        filter: blur(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes heroBtnIn {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.92);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes heroLineGrow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes heroBtnShine {
    0% {
        transform: translateX(-120%) skewX(-20deg);
    }

    60%,
    100% {
        transform: translateX(260%) skewX(-20deg);
    }
}

.about-banner-overlay {
    opacity: 0;
    animation: heroOverlayIn 1.4s ease 0.1s forwards;
}

/* Staggered text */
.about-banner-breadcrumb,
.about-banner-title,
.about-banner-desc {
    opacity: 0;
    animation: heroRise 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.about-banner-breadcrumb {
    animation-delay: 0.35s;
}

.about-banner-title {
    animation-delay: 0.55s;
}

.about-banner-desc {
    animation-delay: 0.8s;
}

/* Accent line under the description */
.about-banner-left::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 24px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.3) 30%, rgba(255, 255, 255, 0.12) 65%, rgba(255, 255, 255, 0) 100%);
    transform: scaleX(0);
    transform-origin: left;
    animation: heroLineGrow 1s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
}

/* CTA button slides in, then gets a periodic shine */
.about-banner-right {
    opacity: 0;
    animation: heroBtnIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.1s forwards;
}

.about-banner-cta-btn {
    position: relative;
    overflow: hidden;
}

.about-banner-cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: translateX(-120%) skewX(-20deg);
    animation: heroBtnShine 3.6s ease-in-out 2.4s infinite;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {

    .about-hero-fullwidth::before,
    .about-banner-overlay,
    .about-banner-breadcrumb,
    .about-banner-title,
    .about-banner-desc,
    .about-banner-left::after,
    .about-banner-right,
    .about-banner-cta-btn::after {
        animation: none !important;
    }

    .about-hero-fullwidth::before {
        transform: none;
    }

    .about-banner-overlay,
    .about-banner-breadcrumb,
    .about-banner-title,
    .about-banner-desc,
    .about-banner-right {
        opacity: 1;
    }

    .about-banner-left::after {
        transform: scaleX(1);
    }
}

/* ==========================================================================
   About Aberdeen Overview Section (2-Column Minimalist Style)
   ========================================================================== */
.about-overview-section {
    background-color: #ffffff;
    padding: 90px 0;
    color: #1e293b;
    position: relative;
}

.about-overview-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.9fr;
    gap: 30px;
    align-items: flex-start;
}

.about-overview-title-col {
    position: sticky;
    top: 120px;
}

.about-overview-title {
    font-family: 'Archivo', sans-serif;
    font-size: 45px;
    font-weight: 800;
    line-height: 1.18;
    color: #0b1727;
    margin-bottom: 20px;
}

.about-overview-title .cyan-highlight,
.about-overview-title .theme-accent {
    color: #014f6e;
    background: linear-gradient(90deg, #014f6e 0%, #1bbfdd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-overview-content-col {
    display: flex;
    flex-direction: column;
}

.about-overview-content-col p {
    font-family: 'Archivo', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin: 0;
    font-weight: 400;
}

.about-overview-content-col p strong {
    font-weight: 700;
    color: #1e293b;
}

.about-overview-lead {
    font-size: 16.5px !important;
    line-height: 1.85 !important;
    color: #334155 !important;
    margin-bottom: 18px !important;
}

.about-overview-lead:last-of-type {
    margin-bottom: 0 !important;
}

/* Expandable content */
.about-overview-more {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-overview-more.is-expanded {
    grid-template-rows: 1fr;
}

.about-overview-more-inner {
    overflow: hidden;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
}

.about-overview-more.is-expanded .about-overview-more-inner {
    opacity: 1;
    padding-top: 20px;
}

.about-overview-link-wrap {
    margin-top: 18px;
}

.about-overview-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    color: var(--color-primary-dark, #014f6e);
    font-family: 'Archivo', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.25s ease;
}

.about-overview-readmore .readmore-arrow {
    font-size: 12px;
    line-height: 1;
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-overview-readmore:hover {
    color: var(--color-primary-cyan, #1bbfdd);
}

.about-overview-readmore.is-active .readmore-arrow {
    transform: rotate(180deg);
}

/* ==========================================================================
   Vision & Mission
   ========================================================================== */
.about-vm-section {
    position: relative;
    width: 100%;
    padding: 85px 0;
    background: #012235;
    background: linear-gradient(135deg, #011624 0%, #01283d 50%, #011624 100%);
    overflow: hidden;
    color: #ffffff;
}

/* Subtle ambient radial glow */
.about-vm-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 50%, rgba(27, 191, 221, 0.08) 0%, transparent 70%);
}

.about-vm-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-vm-content {
    max-width: 780px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

/* ---- Main title ---- */
.about-vm-main-title {
    font-family: 'Archivo', sans-serif;
    font-size: 45px;
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 32px;
    color: #ffffff;
    text-align: center;
}

.about-vm-main-title .cyan-highlight {
    font-weight: 600;
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: #ffffff;
}

/* ---- Vision / Mission blocks ---- */
.about-vm-block {
    text-align: center;
}

.about-vm-label {
    font-family: 'Archivo', sans-serif;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 12px;
    text-align: center;
}

.about-vm-label .label-bold {
    font-weight: 800;
    color: #ffffff;
}

/* small cyan accent under each label */
.about-vm-label::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 3px;
    background: #1bbfdd;
}

.about-vm-text {
    font-family: 'Archivo', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.75;
    letter-spacing: 0.2px;
    color: #ffffff;
    margin: 0 auto;
    max-width: 640px;
    text-align: center;
}

.about-vm-divider {
    width: 100%;
    max-width: 480px;
    height: 1px;
    margin: 28px auto;
    background: rgba(255, 255, 255, 0.25);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Load animation ---- */
.about-vm-content>* {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-vm-section.is-visible .about-vm-overlay {
    opacity: 1;
    transform: none;
}

.about-vm-section.is-visible .about-vm-content>* {
    opacity: 1;
    transform: none;
}

.about-vm-section.is-visible .about-vm-divider {
    transform: scaleX(1);
}

.about-vm-section.is-visible .about-vm-content> :nth-child(1) {
    transition-delay: 0.55s;
}

.about-vm-section.is-visible .about-vm-content> :nth-child(2) {
    transition-delay: 0.8s;
}

.about-vm-section.is-visible .about-vm-content> :nth-child(3) {
    transition-delay: 1s;
}

.about-vm-section.is-visible .about-vm-content> :nth-child(4) {
    transition-delay: 1.2s;
}

/* ---- Responsive ---- */
@media (prefers-reduced-motion: reduce) {

    .about-vm-section,
    .about-vm-overlay,
    .about-vm-content>*,
    .about-vm-divider {
        transition: none !important;
    }

    .about-vm-overlay,
    .about-vm-content>* {
        opacity: 1;
        transform: none;
    }

    .about-vm-divider {
        transform: scaleX(1);
    }
}

/* ==========================================================================
   The Aberdeen Way
   ========================================================================== */
.about-way-section {
    background: #ffffff;
    padding: 90px 0 100px;
    color: #0b1727;
}

.about-way-title {
    font-size: 45px;
    line-height: 1.18;
    margin: 0 0 30px;
    text-align: center;
    opacity: 0;
}

.about-way-title .cyan-highlight {
    color: #014f6e;
    background: linear-gradient(90deg, #014f6e 0%, #1bbfdd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---- Grid ---- */
.about-way-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

/* ---- Card ---- */
.about-way-card {
    position: relative;
    overflow: hidden;
    min-height: 200px;
    padding: 25px 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Background fill from top to bottom on hover */
.about-way-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #014f6e;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.about-way-card:hover {
    border-color: #014f6e;
    box-shadow: 0 16px 36px rgba(1, 79, 110, 0.2);
}

.about-way-card:hover::before {
    transform: scaleY(1);
}

/* ---- Icon box ---- */
.about-way-icon {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: #014f6e;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.about-way-card:hover .about-way-icon {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

/* ---- Text ---- */
.about-way-text {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 24px 0 0;
    font-family: 'Archivo', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    color: #1e293b;
    text-align: center;
    transition: color 0.35s ease;
}

.about-way-card:hover .about-way-text {
    color: #ffffff;
}

/* ---- Load animation (plays once when section scrolls into view) ---- */
@keyframes wayLineIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wayCardIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.about-way-section.is-visible .about-way-title {
    opacity: 1;
    animation: wayLineIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.about-way-section.is-visible .about-way-card {
    opacity: 1;
    animation: wayCardIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    animation-delay: calc(0.5s + var(--i) * 0.12s);
}

/* ==========================================================================
   Board of Directors
   ========================================================================== */
.about-board-section {
    background: #f4f8fb;
    padding: 90px 0 100px;
    color: #1e293b;
}

/* ---- Heading ---- */
.about-board-head {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.about-board-title {
    font-family: 'Archivo', sans-serif;
    font-size: 45px;
    line-height: 1.18;
    margin: 0 0 18px;
    opacity: 0;
}

.about-board-title .cyan-highlight {
    color: #014f6e;
    background: linear-gradient(90deg, #014f6e 0%, #1bbfdd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-board-intro {
    font-family: 'Archivo', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin: 0;
    opacity: 0;
}

/* ---- Layout: 3 per row, last row center aligned ---- */
.about-board-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    align-items: start;
}

/* ---- Card ---- */
.board-card {
    flex: 0 0 calc((100% - 48px) / 3);
    width: calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    opacity: 0;
    transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* accent bar on the left edge */
.board-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #014f6e, #1bbfdd);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.board-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(1, 79, 110, 0.12);
    border-color: rgba(27, 191, 221, 0.4);
}

.board-card.is-open {
    border-color: rgba(27, 191, 221, 0.55);
    box-shadow: 0 18px 40px rgba(1, 79, 110, 0.14);
}

.board-card:hover::before,
.board-card.is-open::before {
    transform: scaleY(1);
}

/* ---- Toggle header ---- */
.board-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 26px 26px 26px 30px;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-family: 'Archivo', sans-serif;
}

.board-toggle:focus-visible {
    outline: 2px solid #1bbfdd;
    outline-offset: -4px;
    border-radius: 20px;
}

.board-id {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.board-name {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: #0b1727;
}

.board-role {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #014f6e;
}

.board-arrow {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    font-size: 13px;
    color: #014f6e;
    background: #f1f5f9;
    border-radius: 50%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease;
}

.board-card:hover .board-arrow {
    background: #e0f6fb;
}

.board-card.is-open .board-arrow {
    transform: rotate(180deg);
    color: #ffffff;
    background: linear-gradient(135deg, #014f6e 0%, #1bbfdd 100%);
}

/* ---- Expanding panel (smooth height using grid rows) ---- */
.board-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.board-card.is-open .board-panel {
    grid-template-rows: 1fr;
}

.board-panel-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 30px;
    opacity: 0;
    transition: opacity 0.4s ease, padding 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.board-card.is-open .board-panel-inner {
    padding: 4px 30px 30px;
    opacity: 1;
    transition-delay: 0.15s, 0s;
}

.board-photo {
    height: 280px;
    overflow: hidden;
    border-radius: 14px;
    background: #e2e8f0;
    margin-bottom: 22px;
}

.board-photo img {
    width: 100%;
    height: 280px;
    display: block;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.12);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.board-card.is-open .board-photo img {
    transform: scale(1);
}

.board-bio {
    font-family: 'Archivo', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

/* ---- Load animation (plays once when section scrolls into view) ---- */
@keyframes boardRise {
    from {
        opacity: 0;
        transform: translateY(46px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.about-board-section.is-visible .about-board-title,
.about-board-section.is-visible .about-board-intro {
    opacity: 1;
    animation: boardRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.about-board-section.is-visible .about-board-intro {
    animation-delay: 0.15s;
}

.about-board-section.is-visible .board-card {
    opacity: 1;
    animation: boardRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    animation-delay: calc(0.35s + var(--i) * 0.15s);
}

/* ---- Responsive ---- */
@media (prefers-reduced-motion: reduce) {

    .about-board-section .about-board-title,
    .about-board-section .about-board-intro,
    .about-board-section .board-card {
        opacity: 1;
        animation: none !important;
    }

    .board-panel,
    .board-panel-inner,
    .board-arrow,
    .board-photo img,
    .board-card,
    .board-card::before {
        transition: none !important;
    }
}

/* ==========================================================================
   The Aberdeen Journey
   ========================================================================== */
.about-journey-section {
    background: #07131a;
    padding: 90px 0 50px;
    color: #ffffff;
    overflow: hidden;
}

/* ---- Header ---- */
.journey-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 54px;
}

.journey-title {
    font-family: 'Archivo', sans-serif;
    font-size: 45px;
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff;
    margin: 0 0 14px;
    opacity: 0;
}

.journey-title .cyan-highlight {
    color: #1bbfdd;
    background: linear-gradient(90deg, #ffffff 0%, #1bbfdd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.journey-intro {
    font-family: 'Archivo', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    opacity: 0;
}

/* ---- Arrow buttons ---- */
.journey-controls {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    opacity: 0;
}

.journey-btn {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    font-size: 15px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.journey-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #014f6e 0%, #1bbfdd 100%);
    border-color: transparent;
    transform: scale(1.08);
}

.journey-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

/* ---- Track ---- */
.journey-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 10px 0px 30px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}

.journey-track::-webkit-scrollbar {
    display: none;
}

.journey-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

/* ---- Card ---- */
.journey-card {
    position: relative;
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
    opacity: 0;
}

/* timeline rail: dot + line running through the gap to the next card */
.journey-rail {
    position: relative;
    height: 14px;
    margin-bottom: 22px;
}

.journey-rail::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    right: -24px;
    height: 2px;
    background: linear-gradient(90deg, rgba(27, 191, 221, 0.7), rgba(255, 255, 255, 0.15));
}

.journey-rail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1bbfdd;
    box-shadow: 0 0 0 5px rgba(27, 191, 221, 0.2);
    transition: box-shadow 0.4s ease;
}

.journey-card:hover .journey-rail::after {
    box-shadow: 0 0 0 9px rgba(27, 191, 221, 0.28);
}

/* ---- Media ---- */
.journey-media {
    position: relative;
    height: 230px;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, #014f6e 0%, #0d2a3a 60%, #07131a 100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.journey-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-card:hover .journey-media img {
    transform: scale(1.08);
}

.journey-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 19, 26, 0) 40%, rgba(7, 19, 26, 0.75) 100%);
}

/* big outlined year, still visible if the photo is missing */
.journey-watermark {
    position: absolute;
    left: 20px;
    bottom: 10px;
    z-index: 1;
    font-family: 'Archivo', sans-serif;
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
    transition: -webkit-text-stroke-color 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-card:hover .journey-media {
    transform: translateY(-6px);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(27, 191, 221, 0.4);
}

.journey-card:hover .journey-watermark {
    -webkit-text-stroke-color: #1bbfdd;
    transform: translateX(6px);
}

/* ---- Text ---- */
.journey-year {
    font-family: 'Archivo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #1bbfdd;
    margin: 24px 0 8px;
}

.journey-card-title {
    font-family: 'Archivo', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin: 0 0 10px;
}

.journey-card-text {
    font-family: 'Archivo', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    padding-right: 10px;
}

/* ---- Load animation (plays once when the section scrolls into view) ---- */
@keyframes journeyRise {
    from {
        opacity: 0;
        transform: translateY(46px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes journeyRail {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.about-journey-section.is-visible .journey-title,
.about-journey-section.is-visible .journey-intro,
.about-journey-section.is-visible .journey-controls {
    opacity: 1;
    animation: journeyRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.about-journey-section.is-visible .journey-intro {
    animation-delay: 0.15s;
}

.about-journey-section.is-visible .journey-controls {
    animation-delay: 0.3s;
}

.about-journey-section.is-visible .journey-card {
    opacity: 1;
    animation: journeyRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    animation-delay: calc(0.4s + var(--i) * 0.13s);
}

.about-journey-section.is-visible .journey-rail::before {
    transform-origin: left;
    animation: journeyRail 1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    animation-delay: calc(0.6s + var(--i) * 0.13s);
}

/* ==========================================================================
   About Page Responsive Styles
   ========================================================================== */

/* 1. Large Tablets & Small Laptops (<= 1024px) */
@media screen and (max-width: 1024px) {

    /* Hero Banner */
    .about-hero-fullwidth {
        min-height: 65vh;
        padding-top: 150px;
        padding-bottom: 70px;
    }

    .about-banner-title {
        font-size: 45px;
    }

    .about-banner-desc {
        font-size: 16px;
        max-width: 580px;
    }

    /* About Overview Section */
    .about-overview-section {
        padding: 70px 0;
    }

    .about-overview-title {
        font-size: 40px;
    }

    .about-overview-grid {
        gap: 28px;
    }

    /* Vision & Mission */
    .about-vm-section {
        padding: 70px 0;
    }

    /* The Aberdeen Way */
    .about-way-section {
        padding: 70px 0 80px;
    }

    .about-way-title {
        font-size: 40px;
    }

    .about-vm-main-title {
        font-size: 40px;
    }

    .about-way-card {
        min-height: 170px;
    }

    .about-way-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    /* Board of Directors */
    .about-board-section {
        padding: 70px 0px;
    }

    .about-board-title {
        font-size: 40px;
    }

    .about-board-head {
        margin-bottom: 40px;
    }

    .board-toggle {
        padding: 22px 20px;
    }

    .board-name {
        font-size: 18px;
    }

    .board-panel-inner {
        padding: 0 20px;
    }

    .board-card.is-open .board-panel-inner {
        padding: 4px 20px 24px;
    }

    /* The Aberdeen Journey */
    .journey-title {
        font-size: 40px;
    }

    .journey-head {
        gap: 24px;
        margin-bottom: 40px;
    }

    .about-journey-section {
        padding: 65px 0 10px;
    }
}

/* 2. Tablets (<= 991px) */
@media screen and (max-width: 991px) {

    /* Hero Banner */
    .about-hero-fullwidth {
        min-height: 55vh;
        padding-top: 135px;
        padding-bottom: 55px;
    }

    /* About Overview Section */
    .about-overview-section {
        padding: 60px 0;
    }

    .about-overview-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-overview-title-col {
        position: static;
    }

    .about-overview-title {
        margin-bottom: 0px;
    }

    /* Vision & Mission */
    .about-vm-section {
        padding: 60px 0;
    }

    .about-vm-main-title {
        font-size: 40px;
        margin-bottom: 25px;
    }

    /* The Aberdeen Way */
    .about-way-section {
        padding: 55px 0 60px;
    }

    .about-way-card {
        min-height: 200px;
    }

    .about-way-title {
        margin-bottom: 30px;
    }

    .about-way-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Board of Directors */
    .about-board-section {
        padding: 55px 0 60px;
    }

    .about-board-head {
        margin-bottom: 36px;
    }

    .about-board-grid {
        gap: 20px;
    }

    .board-card {
        flex: 0 0 calc((100% - 20px) / 2);
        width: calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }

    .board-photo,
    .board-photo img {
        height: 250px;
    }

    /* The Aberdeen Journey */
    .about-journey-section {
        padding: 60px 0 30px;
    }

    .journey-head {
        gap: 20px;
        margin-bottom: 35px;
    }

    .journey-track {
        gap: 20px;
    }

    .journey-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }

    .journey-rail::before {
        right: -20px;
    }

    .journey-media {
        height: 210px;
    }
}

/* 3. Phablets & Large Phones (<= 767px) */
@media screen and (max-width: 767px) {

    /* Hero Banner */
    .about-hero-fullwidth {
        padding-top: 200px;
        padding-bottom: 50px;
    }

    .about-hero-fullwidth::before {
        background-position: center center;
    }

    .about-banner-title {
        font-size: 35px;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .about-banner-desc {
        font-size: 15px;
        line-height: 1.5;
        max-width: 100%;
    }

    /* About Overview Section */
    .about-overview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-overview-title-col {
        position: static;
    }

    .about-overview-title {
        font-size: 30px;
    }

    /* Vision & Mission */
    .about-vm-main-title {
        font-size: 30px;
        line-height: 1.3;
        margin-bottom: 40px;
    }

    .about-vm-label::after {
        width: 36px;
        height: 2.5px;
        margin-top: 10px;
    }

    .about-vm-text {
        font-size: 15px;
        line-height: 1.6;
    }

    .about-vm-divider {
        max-width: 280px;
        margin: 22px auto;
    }

    /* The Aberdeen Way */
    .about-way-title {
        font-size: 30px;
        margin-bottom: 22px;
    }

    .about-way-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Board of Directors */

    .about-board-title {
        font-size: 30px;
    }

    .about-board-head {
        margin-bottom: 28px;
    }

    .board-toggle {
        padding: 20px;
    }

    .board-name {
        font-size: 18px;
    }

    .board-role {
        font-size: 10px;
    }

    .board-arrow {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .board-panel-inner {
        padding: 0 18px;
    }

    /* The Aberdeen Journey */

    .journey-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 28px;
    }

    .journey-title {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .journey-btn {
        width: 44px;
        height: 44px;
        font-size: 14px;
    }

    .journey-card {
        flex: 0 0 calc((100% - 16px) / 2);
    }

    .journey-rail::before {
        right: -16px;
    }

    .journey-media {
        height: 190px;
    }

    .journey-watermark {
        font-size: 50px;
        left: 16px;
        bottom: 8px;
    }

    .journey-rail::after {
        left: 5px;
    }

    .journey-card-title {
        font-size: 18px;
    }
}

/* 4. Mobile Phones (<= 480px) */
@media screen and (max-width: 480px) {

    /* Hero Banner */
    .about-hero-fullwidth::before {
        background-position: center center;
    }

    .about-banner-overlay {
        background: linear-gradient(180deg, rgba(3, 10, 18, 0.45) 0%, rgba(3, 10, 18, 0.6) 45%, rgba(3, 10, 18, 0.88) 100%);
    }

    .about-banner-desc {
        font-size: 14px;
        line-height: 1.7;
    }

    /* Vision & Mission */
    .about-vm-label::after {
        width: 30px;
        height: 2px;
        margin-top: 10px;
    }

    .about-vm-divider {
        max-width: 200px;
        margin: 18px auto;
    }

    /* The Aberdeen Way */
    .about-way-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Board of Directors */

    .board-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
    }

    .about-board-head {
        margin-bottom: 24px;
    }

    .board-name {
        font-size: 16.5px;
    }

    .board-role {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .board-arrow {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }

    .board-panel-inner {
        padding: 0 14px;
    }

    .board-photo,
    .board-photo img {
        height: 280px;
    }

    /* The Aberdeen Journey */

    .journey-intro {
        font-size: 13.5px;
    }

    .journey-card-text {
        padding-right: 0px;
    }

    .journey-track {
        gap: 16px;
    }

    .journey-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .journey-card-title {
        font-size: 20px;
    }

    @media (orientation: landscape) {
        .journey-card {
            flex: 0 0 calc((100% - 16px) / 2);
            max-width: calc((100% - 16px) / 2);
        }
    }

    .journey-media {
        height: 180px;
    }

    .journey-watermark {
        font-size: 42px;
        left: 14px;
        bottom: 6px;
    }
}