.partnerships-page {
    color: #1b1b2f;
    background-color: #f7f8fc;
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.8rem;
    line-height: 1.6;
}

.partnerships-page.cms-managed .cms-block {
    margin-bottom: 0;
}

.partnerships-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
}

.partnerships-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: linear-gradient(90deg, #234191 0%, #397FF3 50%, #234191 100%);
    box-shadow: 0 0 12px rgba(35, 65, 145, 0.35);
}

.partnerships-hero .hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    filter: brightness(0.75);
}

.partnerships-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21, 36, 89, 0.85), rgba(208, 118, 87, 0.6));
}

.partnerships-hero .hero-content {
    position: relative;
    max-width: 860px;
    padding: 0 2rem;
}

.partnerships-hero h1 {
    font-size: clamp(2.5rem, 3.8vw, 4.2rem);
    letter-spacing: 0.18rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.partnerships-hero p {
    font-size: 1.8rem;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 720px;
}

.hybrid-section {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background-color: transparent;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
    font-size: 1.8rem;
}

.section-header h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #1e2a6d;
    margin-bottom: 1.2rem;
}

.section-header p {
    font-size: 1.8rem;
    line-height: 1.8;
    color: #4a4f67;
}

.brand-benefits {
    background-color: #f0f3ff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
}

.benefit-card {
    background: #fff;
    border: 1px solid rgba(30, 42, 109, 0.12);
    border-radius: 18px;
    padding: 2.25rem 1.75rem;
    box-shadow: 0 16px 40px rgba(30, 42, 109, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card h3 {
    font-size: 1.8rem !important;
    font-weight: 600;
    color: #1e2a6d;
    margin-bottom: 1rem;
}

.benefit-card p {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.7;
    color: #526079;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(30, 42, 109, 0.12);
}

.clients-showcase {
    background-color: #fff;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.client-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 22px 60px rgba(19, 29, 79, 0.22);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.client-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 80px rgba(19, 29, 79, 0.25);
}

.client-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.75);
    transform: scale(1.05);
    transition: transform 0.35s ease;
}

.client-card:hover .client-media {
    transform: scale(1.12);
}

.client-content {
    position: relative;
    padding: 2.75rem 2.25rem;
    color: #fff;
    background: linear-gradient(180deg, rgba(16, 22, 58, 0) 0%, rgba(16, 22, 58, 0.65) 60%, rgba(16, 22, 58, 0.9) 100%);
    backdrop-filter: blur(2px);
}

.client-content h3 {
    font-size: 2.4rem !important;
    color: white !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.client-content p {
    margin: 0;
    font-size: 1.8rem !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.88) !important;
}

.partners-carousel {
    background-color: #f5f6fb;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    width: 100%;
    height: 120px;
    border-radius: 18px;
    background: #fff;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 35px rgba(24, 38, 100, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo img {
    max-width: 80%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(0.2);
    transition: filter 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(24, 38, 100, 0.18);
}

.partner-logo:hover img {
    filter: grayscale(0);
}

.collaborate-section {
    background: #ffffff;
    color: #1f2a57;
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.collaborate-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3rem;
}

.checkbox-group{
    padding-left: 0px;
}

.collaborate-header h2 {
    color: #1f2a57;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.collaborate-header p {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.7;
    color: #5b617d;
}

.collaborate-form {
    background: #f1f4fa;
    border: 1px solid rgba(40, 72, 154, 0.06);
    border-radius: 24px;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: 0 18px 48px rgba(31, 42, 109, 0.15);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.75rem;
    margin-bottom: 2rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.55rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #1f2a57;
}

.form-field .required {
    color: #ffcb66;
}

.form-field input,
.form-field textarea {
    border-radius: 12px;
    border: 1px solid rgba(40, 72, 154, 0.12);
    background: #ffffff;
    padding: 1.1rem 1.4rem;
    font-size: 1.6rem;
    color: #1f2a57;
    transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(31, 42, 87, 0.45);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: rgba(40, 72, 154, 0.7);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(40, 72, 154, 0.18);
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.2rem;
    font-size: 1.6rem;
}

.checkbox-group .group-label {
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #1f2a57;
    letter-spacing: 0.08em;
}

.checkbox-option {
    display: block;
    width: 100%;
    cursor: pointer;
}

.checkbox-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.justify-content-center{
    justify-content: center !important;
}

.checkbox-option span {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(40, 72, 154, 0.12);
    border-radius: 18px;
    padding: 1.2rem 2rem;
    color: #495057;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    transition: background 0.25s ease, border 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.checkbox-option span::before {
    content: "";
    flex: 0 0 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid rgba(73, 80, 87, 0.4);
    background: #ffffff;
    transition: border 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.checkbox-option span::after {
    content: "\f00c";
    position: absolute;
    left: calc(2rem + 12px);
    top: 50%;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.75rem;
    color: #ffffff;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.checkbox-option input:focus-visible + span {
    box-shadow: 0 0 0 4px rgba(40, 72, 154, 0.15);
}

.checkbox-option input:checked + span {
    background: linear-gradient(135deg, rgba(40, 72, 154, 0.08), rgba(40, 72, 154, 0.03));
    border-color: rgba(40, 72, 154, 0.35);
    border-left: 4px solid #28489a;
    color: #28489a;
    font-weight: 600;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(28, 46, 112, 0.16);
}

.checkbox-option input:checked + span::before {
    background: #28489a;
    border-color: #28489a;
    box-shadow: 0 2px 6px rgba(40, 72, 154, 0.25);
}

.checkbox-option input:checked + span::after {
    opacity: 1;
}

.checkbox-option:hover span {
    border-color: rgba(40, 72, 154, 0.28);
    background: rgba(244, 247, 255, 0.9);
    transform: translateY(-1px);
}

.recaptcha-container {
    display: inline-block;
    padding: 0.75rem;
    margin-top: 10px;
    border-radius: 12px;
}

.form-actions {
    margin-top: 2.5rem;
    text-align: center;
}

.submit-btn {
    background: linear-gradient(135deg, #ffd46b, #ffb347);
    color: #1b1b2f;
    border: none;
    border-radius: 999px;
    padding: 0.95rem 3.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 200px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.submit-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.submit-btn:not([disabled]):hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(255, 180, 71, 0.35);
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(27, 27, 47, 0.2);
    border-top-color: rgba(27, 27, 47, 0.8);
    border-radius: 50%;
    animation: partnerships-spin 0.9s linear infinite;
    display: none;
}

.submit-btn.loading .spinner {
    display: inline-block;
}

.submit-btn.loading .btn-text {
    opacity: 0.8;
}

.error-message {
    font-size: 1.6rem;
    color: #ce3838;
    margin-top: 0.35rem;
}

.form-message {
    margin-top: 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.form-message.success {
    color: #b9ffcc;
}

.form-message.error {
    color: #e63c3c;
}

@keyframes partnerships-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1199px) {
    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clients-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .partnerships-hero {
        min-height: 440px;
    }

    .collaborate-form {
        padding: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hybrid-section {
        padding: 3.25rem 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .client-card {
        min-height: 320px;
    }

    .collaborate-form {
        padding: 1.75rem;
    }
}

@media (max-width: 575px) {
    .partnerships-hero h1 {
        letter-spacing: 0.12rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partner-logo {
        height: 110px;
    }

    .submit-btn {
        width: 100%;
    }
}

