/* ==================================================
   COLLABORATE WITH US PAGE
   ================================================== */

/* ---- dark navbar override ---- */
.navbar--dark {
    background-color: #000 !important;
}

.navbar--dark .navbar__link,
.navbar--dark .navbar__logo-text,
.navbar--dark .navbar__login {
    color: #fff !important;
}

.navbar--dark .navbar__dropdown-menu {
    background: #111;
}

.navbar--dark .navbar__dropdown-item {
    color: #ddd;
}

.navbar--dark .navbar__dropdown-item:hover {
    color: #fff;
    background: #222;
}

/* ── HERO ─────────────────────────────────────── */
.collab-hero {
    background: #000;
    color: #fff;
    padding: 140px 0 80px;
    text-align: center;
}

.collab-hero__title {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    font-style: italic;
    text-align: inherit;
    /* Allow hero container to control alignment */
}

.collab-hero__subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    max-width: 680px;
    margin: 0 auto 36px;
}

/* ── CTA BUTTON ──────────────────────────────── */
.btn--cta {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    background: #E53935;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.btn--cta:hover {
    background: #c62828;
    transform: translateY(-1px);
}

/* ── FEATURE SECTIONS ────────────────────────── */
.collab-features {
    padding: 80px 0;
    background: #fff;
}

.collab-feature {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 24px;
}

.collab-feature:last-child {
    margin-bottom: 0;
}

.collab-feature--reverse {
    flex-direction: row-reverse;
}

.collab-feature__img {
    flex: 0 0 45%;
    border-radius: 16px;
    overflow: hidden;
}

.collab-feature__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.collab-feature__content {
    flex: 1;
}

.collab-feature__tag {
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #E53935;
    margin-bottom: 12px;
}

.collab-feature__heading {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.collab-feature__text {
    font-family: 'Manrope', sans-serif;
    font-size: 0.92rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 28px;
}

/* ── BOTTOM SECTION (Powering Possibilities) ── */
.collab-bottom {
    background: #f5f5f5;
    padding: 80px 0 60px;
    text-align: center;
}

.collab-bottom__title {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 2.4rem;
    font-weight: 700;
    font-style: italic;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.collab-bottom__subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 48px;
}

/* ── BENEFIT CARDS ───────────────────────────── */
.collab-benefits {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 960px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.collab-benefit {
    flex: 1;
    text-align: center;
    max-width: 280px;
}

.collab-benefit__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.collab-benefit__icon--red {
    background: #E53935;
}

.collab-benefit__icon--dark {
    background: #1a1a1a;
}

.collab-benefit__icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.collab-benefit__title {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.collab-benefit__text {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    line-height: 1.65;
    color: #777;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
    .collab-feature {
        flex-direction: column !important;
        gap: 32px;
    }

    .collab-feature__img {
        flex: 0 0 auto;
        width: 100%;
        max-height: 340px;
    }

    .collab-feature__heading {
        font-size: 1.7rem;
    }

    .collab-benefits {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .collab-hero {
        padding: 110px 0 50px;
        text-align: left !important;
    }

    .collab-hero .container {
        padding: 0 24px !important;
        text-align: left !important;
        max-width: 100% !important;
    }

    .collab-hero__title {
        font-size: 2rem !important;
        text-align: left !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }

    .collab-hero__subtitle {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        max-width: 100% !important;
    }

    .collab-bottom__title {
        font-size: 1.7rem;
    }
}

/* ── MODAL ────────────────────────────────────── */
.glass {
    background: rgba(255, 255, 255, 0.25) !important;
    /* Brighter glass */
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    /* High contrast border */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2) !important;
}

.collab-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    /* Controlled by JS */
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.collab-modal.active {
    display: flex;
}

.collab-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    /* Lighter backdrop to reduce darkness and let glass shine */
}

.collab-modal__container {
    position: relative;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 24px;
    padding: 48px;
    overflow-y: auto;
    color: #fff;
    animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stylish Scrollbar */
.collab-modal__container::-webkit-scrollbar {
    width: 6px;
}

.collab-modal__container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.collab-modal__container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.collab-modal__container::-webkit-scrollbar-thumb:hover {
    background: rgba(229, 57, 53, 0.5);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

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

.collab-modal__close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.collab-modal__close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.collab-modal__step {
    display: none;
}

.collab-modal__step--active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.collab-modal__header {
    text-align: center;
    margin-bottom: 40px;
}

.collab-modal__title {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.collab-modal__subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ── STEP 1: PATHS ───────────────────────────── */
.collab-modal__paths {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.collab-path-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.collab-path-card:hover {
    background: rgba(229, 57, 53, 0.1);
    border-color: rgba(229, 57, 53, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(229, 57, 53, 0.15);
}

.collab-path-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.collab-path-card__title {
    font-family: 'Bricolage Grotesque', serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.collab-path-card__desc {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* ── STEP 2: FORM ────────────────────────────── */
.collab-modal__back-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: color 0.2s;
}

.collab-modal__back-btn:hover {
    color: #fff;
}

.collab-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.collab-form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.collab-form__group:nth-child(n+4) {
    grid-column: span 2;
}

.collab-form label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.collab-form input,
.collab-form select,
.collab-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.collab-form input:focus,
.collab-form select:focus,
.collab-form textarea:focus {
    border-color: #E53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.2);
}

.collab-form select option {
    background: #111;
    color: #fff;
}

.collab-form textarea {
    height: 100px;
    resize: none;
}

.collab-form__submit {
    grid-column: span 2;
    justify-self: center;
    width: fit-content;
    min-width: 280px;
    padding: 16px 48px;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 20px;
    display: inline-flex !important;
    /* Force flex for centering */
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* ── SUCCESS ─────────────────────────────────── */
.collab-success {
    text-align: center;
    padding: 20px 0;
}

.collab-success__icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
    .collab-modal {
        padding: 12px !important;
        /* Less outer padding on mobile */
    }

    .collab-modal__container {
        padding: 32px 16px !important;
        /* Reduced inner padding */
        border-radius: 16px !important;
    }

    .collab-modal__paths {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .collab-modal__title {
        font-size: 1.7rem !important;
        text-align: left !important;
        /* Left aligned modal titles as well for consistency */
    }

    .collab-path-card {
        padding: 24px 16px !important;
    }

    .collab-form {
        display: flex !important;
        /* Using flex-direction column to force stacking */
        flex-direction: column !important;
        gap: 16px !important;
    }

    .collab-form__group {
        width: 100% !important;
        grid-column: auto !important;
    }

    .collab-form__submit {
        width: 100% !important;
        min-width: auto !important;
        margin-top: 10px !important;
    }
}

@media (max-width: 400px) {
    .collab-modal__title {
        font-size: 1.5rem;
    }

    .collab-modal__container {
        padding: 24px 12px;
    }
}

/* FINAL REFINEMENTS FOR HERO, FORM, AND BUTTONS - ROBUST OVERRIDES */

/* 1. Global Button Content Centering */
html body .collab-modal__container button.collab-form__submit,
html body .collab-modal__container .btn.collab-form__submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 250px !important;
    margin: 20px auto 0 auto !important;
    padding: 16px 24px !important;
    box-sizing: border-box !important;
}

/* 2. Hero Mobile Alignment & Padding Fixes */
@media screen and (max-width: 900px) {

    html body section.collab-hero,
    html body .collab-hero {
        text-align: left !important;
        padding-top: 100px !important;
        padding-bottom: 60px !important;
    }

    html body .collab-hero .container {
        padding: 0 24px !important;
        /* Reverting to default mobile padding */
        text-align: left !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        display: block !important;
    }

    html body .collab-hero__title,
    html body h1.collab-hero__title {
        text-align: left !important;
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin: 0 0 16px 0 !important;
        padding: 0 !important;
    }

    html body .collab-hero__subtitle,
    html body p.collab-hero__subtitle {
        text-align: left !important;
        margin: 0 0 30px 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
}

/* 3. Modal Form Mobile Stacking & Overflow Fixes */
@media screen and (max-width: 768px) {
    html body .collab-modal__container {
        padding: 32px 20px !important;
        width: 92% !important;
        max-width: 480px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    html body form.collab-form,
    html body .collab-form {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        width: 100% !important;
    }

    html body .collab-form__group,
    html body div.collab-form__group {
        width: 100% !important;
        max-width: 100% !important;
        grid-column: auto !important;
        margin: 0 0 10px 0 !important;
        box-sizing: border-box !important;
    }

    html body .collab-modal__container button.collab-form__submit,
    html body .collab-modal__container .btn.collab-form__submit {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 10px !important;
    }

    /* 3.1 Force Success State Centering */
    html body .collab-success .collab-modal__title,
    html body .collab-success .collab-modal__subtitle {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* 4. Glass Visibility & Backdrop Polish (Darker Theme for Light BG) */
html body .glass {
    background: #0f0f0f !important;
    /* Dark solid base */
    background: rgba(12, 12, 12, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9) !important;
}

html body .collab-modal__backdrop {
    background: rgba(0, 0, 0, 0.85) !important;
}