/* c# why choose  */

.equal-height-row>[class*="col-"] {
    display: flex;
}

.equal-height-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.c-sharp-whychoose-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 5px solid transparent;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    outline: none;
}

@media (prefers-color-scheme: dark) {
    .c-sharp-whychoose-card {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    }
}

.c-sharp-whychoose-card::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(closest-side, rgba(34, 211, 238, 0.12), transparent 70%);
    transform: rotate(15deg);
    pointer-events: none;
}

@media (prefers-color-scheme: dark) {
    .c-sharp-whychoose-card::after {
        background: radial-gradient(closest-side, rgba(34, 211, 238, 0.18), transparent 70%);
        /* background: radial-gradient(closest-side, rgb(255 226 174), transparent 70%); */
    }
}

.c-sharp-whychoose-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(34, 211, 238, 0.35);
}

.c-sharp-whychoose-card:focus-visible {
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.45), 0 10px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
    border-color: #22d3ee;
}

.c-sharp-whychoose-card .card-body {
    padding: 1.4rem 1.4rem 1.6rem;
}

.c-sharp-whychoose-heading {
    position: relative;
    line-height: 1.3;
    margin: 0.2rem 0 0.6rem;
    letter-spacing: 0.2px;
}

.c-sharp-whychoose-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 48px;
    height: 3px;
    border-radius: 4px;
    background: linear-gradient(90deg, #60a5fa, #22d3ee);
    opacity: 0.55;
}

.c-sharp-whychoose-text {
    color: #6b7280;
    margin: 0;
    line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {

    .c-sharp-whychoose-card,
    .c-sharp-whychoose-card::after {
        transition: none !important;
        transform: none !important;
    }
}

@media (max-width: 991.98px) {
    .c-sharp-whychoose-card .card-body {
        padding: 1.2rem 1.2rem 1.4rem;
    }
}

@media (max-width: 575.98px) {
    .c-sharp-whychoose-heading {
        font-size: 1.1rem;
    }

    .c-sharp-whychoose-heading::after {
        width: 40px;
    }
}


/* c#  experties */

.c-sharp-expertise-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.c-sharp-expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.c-sharp-expertise-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    margin: 0 auto;
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #36a3f7, #0066ff);
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #a855f7, #6b21a8);
}

.bg-gradient-green {
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.bg-gradient-orange {
    background: linear-gradient(135deg, #f97316, #c2410c);
}

/* c# what we do */
.offer-section {
    text-align: center;
}

.offer-section-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.offer-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.row>div:nth-child(odd) .offer-card {
    border-bottom: 5px solid var(--secondary);
}

.row>div:nth-child(even) .offer-card {
    border-bottom: 5px solid var(--primary);
}

.offer-img {
    border-radius: 10%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #fff;
}

.offer-name {
    font-weight: 600;
    margin-bottom: 0.75rem;

}

.offer-desc {
    color: var(--gray);
    /* font-size: 1rem; */
    line-height: 1.6;
    margin: 0;
}


/* c# process */
.c-sharp-process-step-container {
    text-align: center;
    margin-bottom: 30px;
}

.c-sharp-process-step-circle:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.c-sharp-process-step-circle {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 200px;
    height: 250px;
    border-radius: 15%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: bold;
    position: relative;
    color: #fff;
}

/* Step numbers inside circle */
.c-sharp-process-step-circle span {
    font-size: 42px;
    font-weight: 700;
    position: absolute;
    top: -35px;
    border-radius: 50%;
    padding: 8px 16px;
    background: #fff;
    color: inherit;
    border: 3px solid currentColor;
}

.c-sharp-process-step-text {
    font-weight: 500;
    padding: 20px;
    color: black;
    padding-top: 37%;
}

.c-sharp-process-step-odd {
    background: linear-gradient(135deg, #f0f7fd, #ebf2fa, #e4eef8);
    border: 3px solid #007BFF;
    color: #007BFF;
}

.c-sharp-process-step-even {
    background: linear-gradient(135deg, #f9f1ee, #fbf4f2, #faf5f4);
    border: 3px solid #FF9800;
    color: #FF9800;
}

.c-sharp-process-step-odd .c-sharp-process-step-text h5 {
    color: #007BFF;
    font-size: large;
}

.c-sharp-process-step-even .c-sharp-process-step-text h5 {
    color: #FF9800;
}

@media (min-width: 992px) and (max-width: 1400px) {
    .c-sharp-process-step-circle {
        width: 150px;
    }
}

@media (min-width: 576px) and (max-width: 992px) {
    .c-sharp-process-step-circle {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .c-sharp-process-step-circle {
        margin-bottom: 20px;
        width: auto;
        height: auto;
        border-radius: 50px;
    }

    .c-sharp-process-step-text {
        padding-top: 16%;
    }
}