/**
 * Careers & People Page Stylesheet - Aberdeen Holdings
 * Inherits hero banner styles from about.css
 * Section styles & animations match businesses.css
 */

body.careers-page {
    min-height: 100vh;
    background-color: #ffffff;
}

/* Override banner background image for the careers page */
.careers-banner-bg::before {
    background-image: url('../assets/images/careers-banner.jpg') !important;
    background-position: center 40% !important;
}

/* Hero Banner CTA Button - Matching About Page Design */
.about-banner-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 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;
}

.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;
}

/* Careers Hero Banner CTA Box */
.careers-banner-cta-box {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(1, 79, 110, 0.9) 0%, rgba(3, 104, 145, 0.8) 45%, rgba(27, 191, 221, 0.5) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(27, 191, 221, 0.5);
    box-shadow: 0 8px 26px rgba(1, 30, 60, 0.35), 0 0 20px rgba(27, 191, 221, 0.22);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.careers-banner-cta-box:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(1, 30, 60, 0.45), 0 0 28px rgba(27, 191, 221, 0.4);
    background: linear-gradient(135deg, var(--color-primary-cyan, #1bbfdd) 0%, #036891 60%, var(--color-primary-dark, #014f6e) 100%);
}

.careers-cta-eyebrow {
    font-family: 'Archivo', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.25;
}

.careers-cta-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Archivo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.careers-cta-arrow {
    font-size: 18px;
    line-height: 1;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.careers-banner-cta-box:hover .careers-cta-arrow {
    transform: translate(3px, -3px);
}

.careers-banner-cta-box::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;
}


/* ==========================================================================
   Careers Intro Section (Matching Home Page Impact Style)
   ========================================================================== */

.careers-intro-section {
    padding: 85px 0 25px 0;
    background: #ffffff;
    position: relative;
    z-index: 5;
    text-align: center;
}

.careers-intro-section .impact-container-center {
    max-width: 1040px;
    margin: 0 auto;
}

.careers-intro-section .impact-header-content {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.careers-intro-section .impact-title {
    font-family: 'Archivo', sans-serif;
    font-size: 45px;
    font-weight: 800;
    line-height: 1.18;
    color: #0b1727;
    margin-bottom: 22px;
}

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

.careers-intro-section .impact-desc {
    font-size: 18px;
    line-height: 1.75;
    color: #475569;
    font-weight: 300;
    margin: 0 auto;
}

.careers-intro-section .impact-desc+.impact-desc {
    margin-top: 14px;
}

/* ==========================================================================
   Grow With Aberdeen Showcase Rows (Matching Business Page Style, Animation & Effect)
   ========================================================================== */

.careers-grow-section {
    padding: 35px 0 100px 0;
    background: #ffffff;
    position: relative;
}

/* Company Item Row */
.careers-grow-section .company-item-row {
    margin-top: 0;
}

.careers-grow-section .company-item-row+.company-item-row {
    margin-top: 85px;
}

/* Left: Image / Video Column */
.careers-grow-section .company-image-col {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.careers-grow-section .company-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    flex: 1 1 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(11, 23, 39, 0.12);
}

.careers-grow-section .company-image-wrap .company-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    transform: scale(1);
    will-change: transform;
}

.careers-grow-section .company-image-wrap:hover .company-image {
    transform: scale(1.07);
}

/* Gradient vignette over photo */
.careers-grow-section .company-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 10, 18, 0.06) 0%, rgba(3, 10, 18, 0.35) 100%);
    pointer-events: none;
}

/* Video Wrap in Section */
.careers-grow-section .company-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(11, 23, 39, 0.12);
}

.careers-grow-section .company-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 18px;
}

/* Content Column */
.careers-grow-section .company-content-col {
    padding-top: 35px;
    padding-bottom: 35px;
    padding-left: 40px;
    padding-right: calc(var(--bs-gutter-x, 24px) * .5);
}

.careers-grow-section .company-content-col.company-content-left {
    padding-left: calc(var(--bs-gutter-x, 24px) * .5);
    padding-right: 70px;
}

.careers-grow-section .company-content-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.careers-grow-section .company-title {
    font-family: 'Archivo', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #063649;
    margin-bottom: 20px;
    line-height: 1.25;
}

.careers-grow-section .company-tagline {
    font-size: 18px;
    font-weight: 600;
    color: #014f6e;
    margin-bottom: 14px;
    line-height: 1.5;
}

.careers-grow-section .company-desc {
    font-size: 16px;
    line-height: 1.9;
    color: #556980;
    margin-bottom: 18px;
}

/* Official Action Button */
.careers-grow-section .company-action {
    margin-top: 14px;
}

.careers-grow-section .company-website-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 32px;
    border-radius: 50px;
    background: linear-gradient(135deg, #014f6e 0%, #036891 45%, #1bbfdd 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(27, 191, 221, 0.4);
    box-shadow: 0 8px 24px rgba(1, 79, 110, 0.22);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    width: fit-content;
}

.careers-grow-section .company-website-btn i {
    font-size: 13px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.careers-grow-section .company-website-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(27, 191, 221, 0.42);
    background: linear-gradient(135deg, #1bbfdd 0%, #036891 55%, #014f6e 100%);
}

.careers-grow-section .company-website-btn:hover i {
    transform: translate(3px, -3px);
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .careers-intro-section {
        padding: 65px 0 20px 0;
    }

    .careers-intro-section .impact-title {
        font-size: 36px;
    }

    .careers-grow-section .company-content-col,
    .careers-grow-section .company-content-col.company-content-left {
        padding-left: calc(var(--bs-gutter-x, 24px) * .5);
        padding-right: calc(var(--bs-gutter-x, 24px) * .5);
        margin-top: 32px;
    }

    .careers-grow-section .company-image-wrap {
        height: 360px;
        min-height: 360px;
    }
}

@media (max-width: 576px) {
    .careers-intro-section {
        padding: 50px 0 15px 0;
    }

    .careers-intro-section .impact-title {
        font-size: 28px;
    }

    .careers-intro-section .impact-desc {
        font-size: 16px;
    }

    .careers-grow-section {
        padding: 25px 0 70px 0;
    }

    .careers-grow-section .company-image-wrap {
        height: 260px;
        min-height: 260px;
        border-radius: 14px;
    }

    .careers-grow-section .company-title {
        font-size: 26px;
    }
}

/* ==========================================================================
   Build Your Career With Us Section (Matching Home Page Overview Card Style)
   ========================================================================== */

.careers-cta-section {
    background: #ffffff;
    padding: 0px 0px 100px 0px;
}

/* Outer card — same as .clean-overview-card */
.careers-cta-card {
    background-color: #f1f5f9;
    border-radius: 12px;
    padding: 50px;
    margin: 0 auto;
}

/* Two-column grid: text left (wider), box right (narrower) — same ratio as home */
.careers-cta-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.85fr;
    gap: 48px;
    align-items: center;
}

/* Left text column */
.careers-cta-text .careers-cta-title {
    font-family: 'Archivo', sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.18;
    color: #0b1727;
    margin-bottom: 15px;
}

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

.careers-cta-text p {
    line-height: 1.9;
    color: #475569;
    margin-bottom: 20px;
    font-weight: 400;
}

.careers-cta-text p:last-child {
    margin-bottom: 0;
}

/* Right quote-style column */
.careers-cta-quote-col {
    height: 100%;
    display: flex;
    align-items: stretch;
}

/* Opportunity box — same concept as .chairman-quote-box but a filled card */
.careers-opp-box {
    border-left: 3px solid #014f6e;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.careers-opp-box-title {
    font-family: 'Archivo', sans-serif;
    font-size: 25px;
    font-weight: 700;
    color: #0b1727;
    margin: 0 0 4px 0;
    line-height: 1.35;
}

.careers-opp-box-text {
    font-size: 14.5px;
    line-height: 1.75;
    color: #475569;
    margin: 0;
    font-weight: 400;
}

/* "View Current Vacancies" button (matching Home page .homeAbout-btn) */
.careers-opp-box .careers-opp-btn {
    margin-top: 14px;
    align-self: flex-start;
    width: fit-content;
}

/* Responsive */
@media (max-width: 991px) {
    .careers-cta-section {
        padding: 60px 0 75px 0;
    }

    .careers-cta-card {
        padding: 36px 28px;
    }

    .careers-cta-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .careers-cta-text .careers-cta-title {
        font-size: 36px;
    }

    .careers-cta-quote-col {
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .careers-cta-section {
        padding: 48px 0 60px 0;
    }

    .careers-cta-card {
        padding: 28px 20px;
        border-radius: 10px;
    }

    .careers-cta-text .careers-cta-title {
        font-size: 28px;
    }

    .careers-opp-box {
        padding-left: 20px;
    }
}

/* Floating orb decorations */
.cta-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.cta-orb-1 {
    width: 480px;
    height: 480px;
    top: -180px;
    left: -140px;
    background: radial-gradient(circle, rgba(27, 191, 221, 0.18) 0%, rgba(27, 191, 221, 0) 70%);
    animation: ctaOrbFloat1 9s ease-in-out infinite;
}

.cta-orb-2 {
    width: 340px;
    height: 340px;
    bottom: -100px;
    right: -80px;
    background: radial-gradient(circle, rgba(1, 79, 110, 0.4) 0%, rgba(1, 79, 110, 0) 70%);
    animation: ctaOrbFloat2 11s ease-in-out infinite;
}

.cta-orb-3 {
    width: 220px;
    height: 220px;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(27, 191, 221, 0.1) 0%, rgba(27, 191, 221, 0) 70%);
    animation: ctaOrbFloat1 14s ease-in-out infinite reverse;
}

@keyframes ctaOrbFloat1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(24px, 18px);
    }
}

@keyframes ctaOrbFloat2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-20px, -16px);
    }
}

/* Inner content wrapper */
.careers-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Eyebrow badge */
.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 20px;
    background: rgba(27, 191, 221, 0.14);
    border: 1px solid rgba(27, 191, 221, 0.35);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7ee7f7;
    margin-bottom: 28px;
}

.cta-eyebrow i {
    font-size: 12px;
    color: #1bbfdd;
}

/* Main heading */
.cta-heading {
    font-family: 'Archivo', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: #f0f8ff;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.cta-heading-accent {
    background: linear-gradient(90deg, #1bbfdd 0%, #7ee7f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Body text paragraphs */
.cta-body-text {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(200, 228, 243, 0.85);
    font-weight: 300;
    max-width: 640px;
    margin: 0 auto 14px auto;
}

/* Glassmorphism divider strip */
.cta-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(27, 191, 221, 0.4), rgba(255, 255, 255, 0.15), rgba(27, 191, 221, 0.4), transparent);
    margin: 42px 0;
}

/* Opportunity card block */
.cta-opportunity-block {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(27, 191, 221, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 28px 32px;
    text-align: left;
    width: 100%;
    max-width: 640px;
    margin-bottom: 42px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.cta-opportunity-block:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(27, 191, 221, 0.42);
}

/* Icon bubble */
.cta-opp-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(27, 191, 221, 0.25) 0%, rgba(1, 79, 110, 0.35) 100%);
    border: 1px solid rgba(27, 191, 221, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1bbfdd;
    font-size: 20px;
}

/* Opportunity text */
.cta-opp-title {
    font-family: 'Archivo', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #e8f6fc;
    margin-bottom: 8px;
    line-height: 1.3;
}

.cta-opp-desc {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(185, 220, 238, 0.8);
    margin: 0;
    font-weight: 300;
}

/* Vacancy button */
.cta-vacancy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(27, 191, 221, 0.28), 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.cta-vacancy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 48px rgba(27, 191, 221, 0.4), 0 6px 20px rgba(0, 0, 0, 0.35);
}

.cta-vacancy-btn span:first-child {
    display: block;
    padding: 15px 32px;
    background: linear-gradient(135deg, #1bbfdd 0%, #0ea5c9 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: background 0.3s ease;
}

.cta-vacancy-btn:hover span:first-child {
    background: linear-gradient(135deg, #25d1f0 0%, #1bbfdd 100%);
}

.cta-btn-arrow {
    display: flex !important;
    padding: 15px 20px !important;
    background: rgba(10, 60, 84, 0.85) !important;
    color: #1bbfdd !important;
    font-size: 15px;
    align-items: center;
    border-left: 1px solid rgba(27, 191, 221, 0.3);
    transition: background 0.3s ease, color 0.3s ease;
}

.cta-vacancy-btn:hover .cta-btn-arrow {
    background: rgba(6, 54, 73, 0.9) !important;
    color: #7ee7f7 !important;
}

.cta-btn-arrow i {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-vacancy-btn:hover .cta-btn-arrow i {
    transform: translateX(4px);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .careers-cta-section {
        padding: 80px 0 90px 0;
    }

    .cta-heading {
        font-size: 40px;
    }
}

@media (max-width: 576px) {
    .careers-cta-section {
        padding: 60px 0 70px 0;
    }

    .cta-heading {
        font-size: 32px;
    }

    .cta-body-text {
        font-size: 15.5px;
    }

    .cta-opportunity-block {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
    }

    .cta-opp-title {
        font-size: 18px;
    }
}