/* ========================================
   companiesservice2.css
   Roshem-style service page for POS Financing
   ======================================== */

:root {
    --newsoftcolorpurple: #2B115A;
    --newsoftcolorred: #F01A22;
    --newsoftcolorgray: #545454;
    --newsoftcolordarkgray: #ABABAB;
    --newsoftcolordarkergray: #777676;
    --newsoftcolordarker: #2c2c2c;
    --white: #fff;
    --cairo: 'Cairo', sans-serif;
    --light-bg: #f8f9fc;
}

/* ── Global ───────────────────────────── */
.cs2-page {
    direction: rtl;
    font-family: var(--cairo);
    color: var(--newsoftcolorgray);
    overflow-x: hidden;
    padding-top: 50px;
}
.cs2-page *, .cs2-page *::before, .cs2-page *::after {
    box-sizing: border-box;
}


/* ── Hero Section ─────────────────────── */
.cs2-hero {
    background: linear-gradient(135deg, #f3eff9 0%, #eae4f4 40%, #f8f9fc 100%);
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cs2-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -120px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(43,17,90,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.cs2-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(240,26,34,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.cs2-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--newsoftcolorpurple);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.cs2-hero-title::after {
    content: '';
    display: block;
    width: 60%;
    margin: 12px auto 0;
    height: 4px;
    border-bottom: 4px dotted var(--newsoftcolorpurple);
}

.cs2-hero-subtitle {
    font-size: 1.15rem;
    color: var(--newsoftcolordarker);
    max-width: 650px;
    margin: 20px auto 0;
    line-height: 1.9;
    font-weight: 300;
}

.cs2-hero-image {
    margin: 40px auto 0;
    max-width: 700px;
    width: 100%;
}
.cs2-hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(43,17,90,0.10);
}


/* ── Section Container ────────────────── */
.cs2-section {
    padding: 70px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: right;
}
.cs2-section--gray {
    background-color: var(--light-bg);
    max-width: 100%;
}
.cs2-section--gray .cs2-section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.cs2-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--newsoftcolorpurple);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}
.cs2-section-title span {
    color: var(--newsoftcolorred);
}
/*
.cs2-section-title::after {
    content: '';
    display: block;
    width: 50%;
    margin: 8px 0 0;
    height: 3px;
    border-bottom: 3px dotted var(--newsoftcolorred);
}
*/
.cs2-section-text {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--newsoftcolorgray);
}


/* ── Features / Benefits Section ──────── */
.cs2-features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}
.cs2-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #ececec;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--newsoftcolorgray);
    transition: transform 0.2s ease;
}
.cs2-features-list li:last-child {
    border-bottom: none;
}
.cs2-features-list li:hover {
    transform: translateX(-4px);
}
.cs2-feature-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: var(--newsoftcolorpurple);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 4px;
}


/* ── FAQ Section ──────────────────────── */
.cs2-faq-list {
    margin-top: 30px;
}
.cs2-faq-item {
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.cs2-faq-item:hover {
    box-shadow: 0 4px 16px rgba(43,17,90,0.06);
}
.cs2-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    background: var(--white);
    transition: background 0.3s ease;
    user-select: none;
}
.cs2-faq-question:hover {
    background: #faf8fd;
}
.cs2-faq-question h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--newsoftcolorpurple);
    margin: 0;
}
.cs2-faq-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--newsoftcolorpurple);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}
.cs2-faq-item.active .cs2-faq-toggle {
    transform: rotate(45deg);
    background: var(--newsoftcolorred);
}
.cs2-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 22px;
    background: #fdfcfe;
}
.cs2-faq-item.active .cs2-faq-answer {
    max-height: 300px;
    padding: 0 22px 20px;
}
.cs2-faq-answer p {
    font-size: 0.98rem;
    line-height: 2;
    color: var(--newsoftcolordarkergray);
    margin: 0;
}


/* ── Form Section ─────────────────────── */
.cs2-form-section {
    background: var(--light-bg);
    padding: 70px 20px;
}
.cs2-form-container {
    max-width: 650px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    padding: 45px 40px;
    box-shadow: 0 10px 40px rgba(43,17,90,0.07);
}

.cs2-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--newsoftcolorpurple);
    text-align: center;
    margin-bottom: 8px;
}
.cs2-form-subtitle {
    text-align: center;
    color: var(--newsoftcolordarkergray);
    font-size: 0.95rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.cs2-form-group {
    margin-bottom: 18px;
    text-align: right;
}
.cs2-form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--newsoftcolorpurple);
    margin-bottom: 6px;
}
.cs2-form-group input,
.cs2-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--cairo);
    color: var(--newsoftcolorgray);
    background: #fefefe;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    direction: rtl;
}
.cs2-form-group input:focus,
.cs2-form-group select:focus {
    outline: none;
    border-color: var(--newsoftcolorpurple);
    box-shadow: 0 0 0 3px rgba(43,17,90,0.08);
}
.cs2-form-group input::placeholder {
    color: var(--newsoftcolordarkgray);
}

.cs2-form-submit {
    width: 100%;
    padding: 14px;
    background: var(--newsoftcolorpurple);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--cairo);
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.cs2-form-submit:hover {
    background: #3d1d7a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43,17,90,0.2);
}
.cs2-form-submit:active {
    transform: translateY(0);
}

.cs2-form-error {
    color: var(--newsoftcolorred);
    display: none;
    text-align: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
}


/* ── Responsive ───────────────────────── */
@media only screen and (max-width: 768px) {
    .cs2-hero {
        padding: 60px 16px 40px;
    }
    .cs2-hero-title {
        font-size: 2rem;
    }
    .cs2-hero-subtitle {
        font-size: 1rem;
    }
    .cs2-section {
        padding: 50px 16px;
    }
    .cs2-section-title {
        font-size: 1.6rem;
    }
    .cs2-form-container {
        padding: 30px 20px;
        margin: 0 10px;
    }
    .cs2-form-title {
        font-size: 1.4rem;
    }
    .cs2-faq-question {
        padding: 14px 16px;
    }
    .cs2-faq-question h3 {
        font-size: 0.95rem;
    }
    .cs2-features-list li {
        font-size: 0.95rem;
    }
}

@media only screen and (max-width: 480px) {
    .cs2-hero-title {
        font-size: 1.6rem;
    }
    .cs2-section-title {
        font-size: 1.3rem;
    }
    .cs2-form-container {
        padding: 25px 16px;
    }
}
