/* ===============================
   JOBS SECTION WITH ANIMATED BG
================================ */

.jobs-section {
    padding: 120px 20px;

}

.jobs-container {
    margin: 0 auto;
    padding: 80px 40px;
    border-radius: 28px;
    text-align: center;
    color: #e5e7eb;

    /* animated glow bg */
    background-color: #0D1012;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(7, 162, 187, 0.25), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(7, 162, 187, 0.15), transparent 50%);
    background-size: 150% 150%;
    animation: glowShift 4s ease-in-out infinite alternate;
}

/* animation */
@keyframes glowShift {
    0% {
        background-position: 0% 0%;
        filter: brightness(0.85) saturate(1);
    }

    50% {
        background-position: 50% 50%;
        filter: brightness(1.2) saturate(1.4);
    }

    100% {
        background-position: 100% 100%;
        filter: brightness(0.85) saturate(1);
    }
}

/* TEXT */

.jobs-container h2 {
    font-size: 38px;
    font-weight: 700;
    line-height: 41px;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.jobs-subtitle {
    font-size: 14px;
    color: #FFFFFFB2;
    margin-bottom: 50px;
}

/* JOB GRID */

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

/* CARD */
.job-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.job-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.09);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.job-header h4 {
    font-size: 20px;
    margin-bottom: 4px;
}

.job-type {
    font-size: 16px;
    color: #94a3b8;
}

.arrow {
    font-size: 24px;
    color: #fff;
}

/* DESC */
.job-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5f5;
    margin-bottom: 14px;
}

/* META */
.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 16px;
    color: #e5e7eb;
}

/* FOOTER CTA */

.jobs-footer {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 18px;
}

.jobs-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #ffffff;
    color: #0d1012;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jobs-btn:hover {
    transform: translateY(-2px);
    background: #e5e7eb;
}

/* ===============================
   RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 991px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    .jobs-container {
        animation: none;
        animation: none !important;
        background-image: none !important;
        filter: none !important;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .jobs-container {
        padding: 60px 20px;
    }

    .jobs-container h2 {
        font-size: 24px;
    }

    .jobs-subtitle {
        font-size: 13px;
    }
}

/* ===============================
   JOBS SECTION WITH ANIMATED BG ENDS
================================ */


/* ===============================
   MARQUEE SECTION STARTS
================================ */

.marquee-section {
    padding: 0 0;
    margin-bottom: 0px;
    overflow: hidden;
    background: #fff;
}

.marquee {
    width: 100%;
    overflow: hidden;
}

/* Track */
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

/* Text */
.marquee-text {
    font-size: 58px;
    font-weight: 600;
    color: #0069C8;
    white-space: nowrap;
    padding-right: 60px;
}

/* Stroke text */
.text-stroke-black {
    color: transparent;
    -webkit-text-stroke: 1px #0069C8;
}

/* ANIMATION (REAL INFINITE) */

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1024px) {
    .marquee-text {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .marquee-text {
        font-size: 30px;
    }

    .marquee-section {
        padding: 0px 0;
    }
}

@media (max-width: 480px) {
    .marquee-text {
        font-size: 28px;
    }
}

/* ===============================
   MARQUEE SECTION ENDS
================================ */



/* ===============================
   LIFE AT CUBEMOONS SECTION
================================ */

.life-section {
    padding: 80px 20px;
    background: #ffffff;
}

.life-container {
    margin: 0 auto;
    text-align: center;
}

/* Heading */
.life-container h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 32px;
    color: #0f172a;
}

/* Description */
.life-desc {
    max-width: 710px;
    margin: 0 auto 40px;
    font-size: 15px;
    font-weight: 500;
    color: #575757;
}

/* Image wrapper */
.life-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.life-image-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border: 3px solid rgba(0, 105, 200, 0.1);
    border-top: 3px solid #0069C8;
    border-radius: 50%;
    animation: imageLoaderSpin 1s linear infinite;
    z-index: 0;
}

.life-image-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.80), transparent);
    pointer-events: none;
    z-index: 2;
}

/* Image */
.life-image-wrapper img {
    width: 100%;
    height: 80vh;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* Overlay */
.life-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 32px;

    display: flex;
    justify-content: space-between;
    gap: 16px;



    color: #ffffff;
    font-size: 22px;
    z-index: 3;
}

@keyframes imageLoaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===============================
   RESPONSIVE
================================ */

/* Tablet */
@media (max-width: 991px) {
    .life-overlay {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 575px) {

    .life-container h2 {
        font-size: 24px;
    }

    .life-desc {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .life-overlay {
        position: static;
        background: #0f172a;
        flex-direction: column;
        padding: 20px;
        text-align: center;
        font-size: 16px;
    }

    .life-image-wrapper {
        border-radius: 16px;
    }
}

/* ===============================
   LIFE AT CUBEMOONS SECTION ENDS
================================ */



/* ===============================
   FAQ SECTION STARTS
================================ */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;;
}

/* Heading */
.faq-heading {
    text-align: center;
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #0f172a;
}

/* Item */
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 14px;
    overflow: hidden;
}

/* Header */
.faq-header {
    width: 100%;
    background: #ffffff;
    border: none;
    padding: 18px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    cursor: pointer;
}

/* Question text */
.faq-header span:first-child {
    font-size: 16px;
    font-weight: 500;
    color: #0f172a;
}

/* Arrow */
.faq-arrow {
    width: 18px;
    height: 18px;
    position: relative;
    flex-shrink: 0;
}

/* Down arrow (default) */
.faq-arrow::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-right: 2px solid #0f172a;
    border-bottom: 2px solid #0f172a;
    transform: rotate(45deg);
    top: 2px;
    left: 3px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Body */
.faq-body {
    height: 0;
    overflow: hidden;

    transition:
        height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
        opacity 0.35s ease;

    opacity: 0;
    will-change: height, opacity;
}

.faq-item.active .faq-body {
    opacity: 1;
}


.faq-body p {
    padding: 0 20px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

/* ACTIVE */
.faq-item.active .faq-arrow::before {
    transform: rotate(-135deg);
    /* arrow up */
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 575px) {
    .faq-heading {
        font-size: 24px;
    }

    .faq-header span:first-child {
        font-size: 15px;
    }

    .faq-body p {
        font-size: 14px;
    }
}



/* ===============================
   FAQ SECTION ENDS
================================ */