/* ================= PREMIUM CAREERS STYLING ================= */

:root {
    --premium-gold: #c9a14a;
    --premium-dark: #0a0a0a;
    --premium-accent: #1a1a1a;
    --text-muted: #2c2e30;
    --light-bg: #f8f9fa;
    --overlay-gradient: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 100%);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════════
   HERO — Centered heading + text over image
═══════════════════════════════════════════ */
.contact-hero {
    position: relative;
    height: 100vh;
    background: url("/assets/images/frontend/career/banner-carrer.png") center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-gradient);
    z-index: 1;
}

/* Content block — centered in hero */
.contact-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 0 20px;
    width: 100%;
}

.hero-heading {
     font-size: clamp(40px,6vw,80px);
    font-weight: 500;
    letter-spacing: -2px;
    font-family: "Nocturnal-Light";
    line-height: 1;
    margin-bottom: 24px;
    opacity: 0; /* GSAP will animate */
}

.hero-sub {
    font-size: 1.15rem;
    opacity: 0;   /* GSAP will animate */
    font-family: "GeneralSans-Medium";
    line-height: 1.75;
    color: rgba(255,255,255,0.88);
}
        @media (max-width: 768px) {
        .contact-hero {
           background: url("/assets/images/frontend/career/banner-carrer.png") center/cover no-repeat;
           background-attachment: scroll;
           height: 60vh;
    }
}


/* ── Breadcrumb Refinement ── */
.breadcrumb-section {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    font-family: "GeneralSans-Medium";
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    white-space: nowrap;
}

.breadcrumb-item a {
    color: #111;
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb-item a:hover {
    opacity: 0.8;
}

.breadcrumb-item.active {
    color: #111;
    font-weight: 600;
}

.breadcrumb-separator {
    opacity: 0.5;
    font-size: 12px;
    color: #888;
}


/* ═══════════════════════════════════════════
   CULTURE INTRO
═══════════════════════════════════════════ */

.culture-intro-section {
    padding: 70px 0;
    background: #fff;
}

.culture-intro-inner {
    margin: 0 auto;
    text-align: center;
    max-width:1000px;
}

.culture-intro-heading {
    font-family: "Nocturnal-Light";
    font-size: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--premium-dark);
    margin-bottom: 30px;
    opacity: 0; /* GSAP */
}

.culture-intro-para {
    font-family: "GeneralSans-Medium";
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0; /* GSAP */
}

.culture-intro-para:last-child { margin-bottom: 0; }


/* ═══════════════════════════════════════════
   PROMISE SLIDER
═══════════════════════════════════════════ */
.promise-slider-section {
    padding-top:70px;
    padding-bottom: 70px;
    background: #c8d8ea;
    overflow: hidden;
}

.promise-title {
    font-family: "Nocturnal-Light";
    font-size: 30px;
    font-weight: 400;
    color: #000;
    letter-spacing: -1px;
    line-height: 1.15;
    opacity: 0; /* GSAP */
      text-transform: uppercase;
}

.promise-swiper-wrapper {
    width: 100%;
    padding: 0 0 60px;
}

.promiseSwiper {
    width: 100%;
    padding: 20px 0 !important;
    overflow: visible !important;
}

.promiseSwiper .swiper-wrapper { align-items: center; }

.promiseSwiper .swiper-slide {
    width: 580px !important;
    opacity: 1;
    transform: none !important;
}

.promise-card {
    position: relative;
    overflow: hidden;
    height: 420px;
    cursor: pointer;
    border-radius: 0;
}

.promise-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
}

.promise-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(128, 0, 0, 0.55);
    z-index: 1;
}

.swiper-slide-active .promise-card::before {
    background: rgba(0, 0, 0, 0.35);
}

.promise-card-letter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 180px;
    font-family: "Nocturnal-Light";
    font-weight: 700;
    color: rgba(128, 0, 0, 0.25);
    z-index: 2;
    line-height: 1;
    pointer-events: none;
}

.swiper-slide-active .promise-card-letter {
    color: rgba(80, 0, 0, 0.35);
}

.promise-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    z-index: 3;
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.promise-card-content h4 {
    font-family: "GeneralSans-Medium";
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1.4;
    min-width: 160px;
}

.promise-card-content h4 span {
    color: #ffffff;
    display: block;
}

.promise-card-content p {
    font-family: "GeneralSans-Medium";
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s ease;
}

.swiper-slide-active .promise-card-content p {
    opacity: 1;
    transform: translateY(0);
}

.promise-pagination {
    bottom: 0 !important;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.promise-pagination .swiper-pagination-bullet {
    width: 8px; height: 8px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
}

.promise-pagination .swiper-pagination-bullet-active {
    background: #000;
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .promise-title { font-size: 28px; }
    .promiseSwiper .swiper-slide { width: 300px !important; }
    .promise-card { height: 340px; }
    .promise-card-letter { font-size: 120px; }
    .promise-card-content { display: block; }
    .culture-intro-section{
        padding: 50px 0px;
    }
    .culture-intro-heading{
        margin-bottom:10px;
        font-size:25px;
    }
    .promise-slider-section {
        padding-top:50px;
        padding-bottom: 50px;
    }
}


/* ═══════════════════════════════════════════
   OUR VALUES SECTION — Centered heading + 5 cards
═══════════════════════════════════════════ */
.values-section {
    background: #ffffff;
    padding-top:70px;
    padding-bottom: 70px;
}

.values-heading {
    font-family: "Nocturnal-Light";
    font-size: 30px;
    font-weight: 400;
    color: #000;
    letter-spacing: -1px;
    text-align: center;
    margin-bottom: 14px;
    opacity: 0;
      text-transform: uppercase;
}

.values-subtext {
    font-family: "GeneralSans-Medium";
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 56px;
    opacity: 0;
}

/* Row 1 — 3 equal columns */
.values-row-1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

/* Row 2 — 2 columns centered (same width as row-1 cards) */
.values-row-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.values-row-2 .value-card:first-child { grid-column: 1 / 2; }
.values-row-2 .value-card:last-child  { grid-column: 2 / 3; }

/* cleaner: just center 2 cards at same width */
.values-row-2 {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.values-row-2 .value-card {
    flex: 0 0 calc(33.333% - 12px);
}

/* ── Card ── */
.value-card {
    background: #fff;
    overflow: hidden;
    opacity: 0;
    border: 1px solid #e8e8e8;
    position: relative;
    cursor: pointer;
}

/* Image container with overlay on hover */
.value-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.value-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.16,1,0.3,1);
}

/* Dark overlay slides up on hover */
.value-card-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card:hover .value-card-img-wrap img { transform: scale(1.07); }
.value-card:hover .value-card-img-wrap::after { opacity: 1; }

/* Bottom bar */
.value-card-body {
    padding: 18px 20px 20px;
    border-top: 2px solid #000;
    background: #fff;
    transition: background 0.35s ease;
}

.value-card:hover .value-card-body { background: #f2f2f2; }

.value-card-body h3 {
    font-family: "GeneralSans-Medium";
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.value-card-body p {
    font-family: "GeneralSans-Medium";
    font-size: 16px;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 992px) {
    .values-row-1 { grid-template-columns: repeat(2, 1fr); }
    .values-row-2 { justify-content: flex-start; }
    .values-row-2 .value-card { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 600px) {
    .values-row-1 { grid-template-columns: 1fr; }
    .values-row-2 { flex-direction: column; }
    .values-row-2 .value-card { flex: 0 0 100%; }
    .values-heading { font-size: 28px; }
    .values-section{
        padding-top:50px;
        padding-bottom: 50px;
    }
}


/* ═══════════════════════════════════════════
   CURRENT OPENINGS — Arrow accordion
═══════════════════════════════════════════ */
.careers-openings-section {
    background: #c8d8ea;
    padding-top:70px;
    padding-bottom: 70px;
}

.careers-title {
    font-family: "Nocturnal-Light";
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: #000;
    text-align: center;
    opacity: 0;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Card — full-width accordion item */
.job-card {
    background: #ffffff;
    opacity: 0;
    overflow: hidden;
}

/* Header row — always visible, clickable */
.job-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 32px;
    cursor: pointer;
    user-select: none;
    transition: background 0.25s ease;
    gap: 20px;
}

.job-card-header:hover { background: #fafafa; }

.job-header-left { flex: 1; }

.job-header-left h3 {
    font-family: "GeneralSans-Medium";
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 4px;
}

.job-header-left .job-meta {
    font-family: "GeneralSans-Medium";
    font-size: 13px;
    color: #999;
    letter-spacing: 0.3px;
}

.job-header-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.job-apply-btn {
    background: #000;
    color: #fff;
    padding: 9px 24px;
    text-decoration: none;
    font-family: "GeneralSans-Medium";
    font-size: 12px;
    border-radius: 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.25s ease;
    white-space: nowrap;
}

.job-apply-btn:hover { background: #333; color: #fff; }

/* Arrow icon */
.job-arrow {
    width: 36px;
    height: 36px;
    border: 1.5px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.job-arrow svg {
    width: 14px;
    height: 14px;
    stroke: #000;
    transition: stroke 0.3s ease;
}

/* Rotates when open */
.job-card.open .job-arrow {
    background: #000;
    border-color: #000;
    transform: rotate(45deg);
}

.job-card.open .job-arrow svg { stroke: #fff; }

/* Expandable body */
.job-card-body {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height 0.45s cubic-bezier(0.16,1,0.3,1), opacity 0.35s ease;
}

.job-card-body-inner {
    padding: 0 32px 28px;
    border-top: 1px solid #efefef;
    padding-top: 20px;
}

.job-card-body-inner p {
    font-family: "GeneralSans-Medium";
    font-size: 14.5px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* Open state */
.job-card.open .job-card-body { opacity: 1; }


/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.careers-cta-section {
    background-color: #fff;
    padding-top: 70px;
    padding-bottom: 70px;
}

.careers-cta-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    opacity: 0; /* GSAP */
}

.careers-cta-box h2 {
    font-family: "Nocturnal-Light";
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 18px;
    color: #000;
    letter-spacing: -1px;
     text-transform: uppercase;
}

.careers-cta-box p {
    font-family: "GeneralSans-Medium";
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 28px;
}

.cta-apply-btn {
    background: #000;
    color: #fff;
    padding: 14px 36px;
    text-decoration: none;
    font-family: "GeneralSans-Medium";
    font-size: 15px;
    display: inline-block;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-apply-btn:hover {
    background: #333;
    transform: translateY(-2px);
}


/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .contact-hero-content { padding: 0 16px; }
    .hero-heading { font-size: 48px; }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .job-info { padding-right: 0; }

    .job-apply-btn { align-self: flex-start; }

    .careers-title,
    .careers-cta-box h2 { font-size: 28px; }
    .careers-openings-section{
        padding: 50px 0px;
    }
    .job-header-left h3{
        font-size:16px;
    }
    .job-card-header{
        padding: 12px;
    }
}

/* ═══════════════════════════════════════════
   APPLY NOW — POPUP MODAL
   Add this at the bottom of career.css
═══════════════════════════════════════════ */

/* Overlay */
.apply-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
}

.apply-overlay.active {
    pointer-events: all;
}

/* Modal box */
.apply-modal {
    background: #fff;
    width: 100%;
    max-width: 880px;
    max-height: 92vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1.55fr;
    position: relative;
}

.apply-modal::-webkit-scrollbar { width: 3px; }
.apply-modal::-webkit-scrollbar-thumb { background: #ddd; }

/* Close button */
.apply-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s ease;
}
.apply-close:hover { background: #e0e0e0; }
.apply-close svg { width: 15px; height: 15px; }

/* Left panel */
.apply-modal-left {
    background: #c8d8ea;
    padding: 52px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 480px;
}

.apply-tag {
    font-family: "GeneralSans-Medium";
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
    margin-bottom: 20px;
    display: block;
}

.apply-modal-heading {
    font-family: "Nocturnal-Light";
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 400;
    color: #000;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.apply-modal-note {
    font-family: "GeneralSans-Medium";
    font-size: 13px;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1.75;
    margin: 0;
}

/* Right panel */
.apply-modal-right {
    padding: 48px 40px 44px;
}

/* Form */
.apply-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.apply-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0; /* GSAP animates this in */
}

.apply-field label {
    font-family: "GeneralSans-Medium";
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #000;
}

.apply-label-hint {
    font-weight: 400;
    color: #aaa;
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px;
}

.apply-field input[type="text"],
.apply-field input[type="email"],
.apply-field input[type="tel"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-family: "GeneralSans-Medium";
    font-size: 14px;
    color: #000;
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.apply-field input:focus {
    border-color: #000;
    background: #fff;
}

.apply-field input::placeholder { color: #bbb; }

/* File upload */
.apply-file-wrap {
    position: relative;
    border: 1.5px dashed #ccc;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.apply-file-wrap.dragover {
    border-color: #000;
    background: #f0f0f0;
}

.apply-file-wrap input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.apply-file-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 20px;
    gap: 7px;
    pointer-events: none;
}

.apply-file-ui svg {
    width: 22px;
    height: 22px;
    color: #bbb;
}

.apply-file-ui span {
    font-family: "GeneralSans-Medium";
    font-size: 13px;
    color: #aaa;
    text-align: center;
}

/* Submit */
.apply-submit {
    background: #000;
    color: #fff;
    border: none;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: "GeneralSans-Medium";
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.3s ease, gap 0.3s ease;
}

.apply-submit svg {
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
}

.apply-submit:hover { background: #222; gap: 16px; }
.apply-submit:hover svg { transform: translateX(4px); }

/* Responsive */
@media (max-width: 768px) {
    .apply-modal {
        grid-template-columns: 1fr;
        max-height: 96vh;
    }
    .apply-modal-left {
        min-height: auto;
        padding: 36px 24px 28px;
    }
    .apply-modal-right { padding: 28px 20px 36px; }
    .apply-modal-heading { font-size: 28px; }
}