﻿/* ================= OPERATING CITIES ================= */

.operating-cities {
    margin: 80px 0 40px;
    text-align: center;
}

    .operating-cities h4 {
        font-size: 16px;
        font-weight: 500;
        color: #111;
        margin-bottom: 40px;
    }

.cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    justify-content: center;
    align-items: center;
}

.city-item img {
    height: 120px;
    /*    max-width: 140px;*/
    width: 200px;
}

.city-item p {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #111;
}

/* Responsive */
@media (max-width: 900px) {
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .cities-grid {
        grid-template-columns: 1fr;
    }
}

body {
}



/* ============ WHO WE ARE SECTION OVERRIDES (career page) ============ */
.who-we-are-section {
    padding: 5rem 1.5rem;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Title + paragraph centered */
.who-we-are-section h2 {
    font-size: 2rem;
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.who-we-are-section .who-description {
    font-size: var(--normal-font-size);
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
    text-align: center;
}

/* ================= CAREER HIGHLIGHT BLOCK ================= */

.career-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin: 50px 0 40px;
    flex-wrap: wrap;
}

/* Left column (text) */
.career-highlight-content {
    flex: 1 1 55%;
    max-width: 600px;
    text-align: left;
}

    .career-highlight-content h3 {
        font-size: 2rem;
        font-weight: var(--font-semi-bold);
        color: #333;
        line-height: 1.3;
        margin-bottom: 1.2rem;
    }

        .career-highlight-content h3 span {
            display: block;
            color: #1f6fe5;
            font-weight: var(--font-semi-bold);
        }

    .career-highlight-content p {
        margin: 0 0 30px;
        font-size: 15px;
        line-height: 1.7;
        color: #666;
    }

/* Buttons under text */
.career-highlight-buttons {
    display: flex;
    gap: 15px;
}

/* Primary Button */
.primary-btn {
    padding: 12px 26px;
    background: #2b78e4;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .primary-btn:hover {
        background: #1e5bb8;
    }

/* Secondary Button */
.secondary-btn {
    padding: 12px 26px;
    border: 1.5px solid #2b78e4;
    color: #2b78e4;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .secondary-btn:hover {
        background: #2b78e4;
        color: #fff;
    }

/* Right column (image) */
.career-highlight-image {
    flex: 1 1 35%;
    display: flex;
    justify-content: flex-end;
}

    .career-highlight-image img {
        height: 300px;
        max-width: 450px;
        width: 100%;
    }

/* Mobile Responsive */
@media (max-width: 768px) {
    .career-highlight {
        flex-direction: column-reverse;
        text-align: center;
    }

    .career-highlight-content {
        text-align: center;
    }

    .career-highlight-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .career-highlight-image {
        justify-content: center;
    }
}




/* Center Button */
.openings-btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* RGB Animated Border Button */
.openings-btn {
    position: relative;
    padding: 14px 40px;
    font-size: 18px;
    font-weight: 600;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
}

    /* The RGB animation layer */
    .openings-btn::before {
        content: "";
        position: absolute;
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
        border-radius: 50px; /* match pill shape */
        background: linear-gradient(90deg, #ff0000, #ff7b00, #ffff00, #00ff00, #00ffff, #0000ff, #8f00ff, #ff00ff );
        background-size: 400% 400%;
        z-index: -2;
        animation: rgbBorder 6s linear infinite;
    }

    .openings-btn::after {
        content: "";
        position: absolute;
        top: 2px;
        left: 2px;
        right: 2px;
        bottom: 2px;
        background: #ffffff;
        border-radius: 50px;
        z-index: -1;
    }

    .openings-btn:hover {
        background: #1e5bd4;
        transform: translateY(-2px);
    }

/* Hidden container initially */
.openings-container {
    max-width: 1500px;
    margin: 40px auto 0;
    display: none;
}

/* grid area */
.openings-grid {
    max-height: 420px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 20px;
    /*    scroll bar hidden*/
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .openings-grid::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

/* Job card (JSON look) */
.job-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .job-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 35px rgba(0,0,0,0.12);
    }

    /* Job title */
    .job-card h3 {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 10px;
        color: #1d3557;
    }

    /* Job meta text */
    .job-card p {
        font-size: 14px;
        margin: 4px 0;
        color: #444;
    }

/* Skills list */
.job-skills {
    margin-top: 10px;
}

    .job-skills span {
        display: inline-block;
        background: #eaf2ff;
        color: #2b6ef2;
        padding: 6px 10px;
        border-radius: 12px;
        font-size: 12px;
        margin: 4px 6px 0 0;
    }

/* Apply Button */
.apply-btn {
    margin-top: 18px;
    align-self: center;
    padding: 10px 18px;
    background: #2b6ef2;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

    .apply-btn:hover {
        background: #1e5bd4;
    }

/* Show animation */
.openings-container.show {
    display: block;
    animation: slideFade 0.4s ease;
}

@keyframes slideFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes rgbGlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}



/* ========== APPLY MODAL ========== */

.apply-modal {
    position: fixed;
    inset: 0;
    display: none; /* hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 999;
}

    .apply-modal.show {
        display: flex;
    }

.apply-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.apply-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 26px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 18px 40px rgba(0,0,0,0.2);
    z-index: 2;
}

    .apply-modal-content h3 {
        margin: 0 0 15px;
        font-size: 20px;
        color: #1d3557;
    }

.apply-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 22px;
    cursor: pointer;
}

/* Form fields */
.apply-field {
    margin-bottom: 12px;
    text-align: left;
}

    .apply-field label {
        display: block;
        font-size: 13px;
        margin-bottom: 4px;
        color: #333;
    }

    .apply-field input,
    .apply-field textarea {
        width: 100%;
        padding: 8px 10px;
        border-radius: 8px;
        border: 1px solid #d0d7e2;
        font-size: 14px;
        outline: none;
    }

        .apply-field input:focus,
        .apply-field textarea:focus {
            border-color: #2b6ef2;
        }

/* Submit button */
.apply-submit-btn {
    margin-top: 6px;
    width: 100%;
    padding: 10px 0;
    background: #2b6ef2;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

    .apply-submit-btn:hover {
        background: #1e5bd4;
    }

.apply-message {
    margin-top: 10px;
    font-size: 13px;
}



/* Responsive breakpoints */
@media (max-width: 1024px) {
    .openings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .openings-grid {
        grid-template-columns: 1fr;
    }
}




/* ================= HAPPY COWORKERS ================= */
.happy-coworkers-section {
    background: #eef7ff; /* light blue */
    padding: 80px 20px;
}

.happy-coworkers-section .container {
    max-width: 1300px;
    margin: auto;
    text-align: center;
}

/* Heading */
.happy-title {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

    .happy-title span {
        color: #1f6fe5;
    }

/* Subtitle */
.happy-subtitle {
    font-size: 15px;
    color: #666;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* Image Grid */
.happy-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

/* Each image block */
.happy-item {
    background: #dcecff;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
}

    /* When images are added */
    .happy-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ---------------- Responsive ---------------- */

@media (max-width: 1024px) {
    .happy-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .happy-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .happy-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}
