/* Premium individual service page styles - Daksha Techsolutions */

.rs-service-hero {
    position: relative;
    padding: 70px 0 70px;
    background: #F7F9F8;
    overflow: hidden;
}

@media only screen and (max-width: 767px) {
    .rs-service-hero {
        padding: 60px 0 60px;
    }
}

.rs-service-hero .row {
    align-items: center;
}

.rs-service-hero-content p.descrip {
    color: #5A5A5A;
    margin-top: 16px;
    max-width: 520px;
}

.rs-service-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0 30px;
    padding: 0;
}

.rs-service-badge-list li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    color: #3A3A3A;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 9px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 14px rgba(13, 42, 60, 0.05);
}

.rs-service-badge-list i {
    color: var(--rs-theme-medium-green);
}

.rs-service-stats {
    display: flex;
    gap: 34px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.rs-service-stats .stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--rs-title-primary);
    line-height: 1;
}

.rs-service-stats .stat-num span {
    color: var(--rs-theme-medium-green);
}

.rs-service-stats .stat-label {
    font-size: 13.5px;
    color: #6D6D6D;
    margin-top: 6px;
}

.rs-service-hero-visual {
    position: relative;
}

.rs-service-hero-panel {
    position: relative;
    border-radius: 26px;
    padding: 3px;
    background: linear-gradient(135deg, rgba(248, 150, 51, 0.55), rgba(13, 42, 60, 0.05));
    box-shadow: 0 35px 70px rgba(13, 42, 60, 0.18);
}

.rs-service-hero-panel-inner {
    border-radius: 24px;
    background: linear-gradient(145deg, #0D2A3C, #123449);
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

@media only screen and (max-width: 575px) {
    .rs-service-hero-panel-inner {
        min-height: 280px;
    }
}

.rs-service-hero-panel-inner i {
    font-size: 160px;
    color: rgba(248, 150, 51, 0.18);
}

@media only screen and (max-width: 575px) {
    .rs-service-hero-panel-inner i {
        font-size: 90px;
    }
}

.rs-service-hero-panel-inner img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.rs-service-hero-panel:hover .rs-service-hero-panel-inner img {
    transform: scale(1.06);
}

@media only screen and (max-width: 575px) {
    .rs-service-hero-panel-inner img {
        min-height: 280px;
    }
}

.rs-service-hero-float-card {
    position: absolute;
    bottom: -26px;
    left: -26px;
    background: #fff;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 20px 45px rgba(13, 42, 60, 0.18);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 230px;
}

@media only screen and (max-width: 991px) {
    .rs-service-hero-float-card {
        position: static;
        margin-top: 20px;
        max-width: none;
    }
}

.rs-service-hero-float-card i {
    font-size: 30px;
    color: var(--rs-theme-medium-green);
    flex-shrink: 0;
}

.rs-service-hero-float-card strong {
    display: block;
    font-size: 15px;
    color: var(--rs-title-primary);
}

.rs-service-hero-float-card span {
    font-size: 12.5px;
    color: #777;
}

/* text-only hero (no image uploaded yet) */
.rs-service-hero-textonly .rs-service-hero-descrip {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.rs-service-checklist-area {
    padding: 20px 0 90px;
    background: #F7F9F8;
}

.rs-service-hero-checklist-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--rs-title-primary);
    margin-bottom: 18px;
}

.rs-service-checklist-text {
    max-width: 720px;
    margin: 0 auto 30px;
    color: #5A5A5A;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

.rs-service-hero-checklist + .rs-service-checklist-text {
    margin: 30px auto 0;
}

.rs-service-hero-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

@media only screen and (max-width: 575px) {
    .rs-service-hero-checklist-title {
        font-size: 20px;
        margin-bottom: 24px;
    }
}

.rs-service-hero-checklist li {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 6px 20px rgba(13, 42, 60, 0.04);
    transition: all 0.3s ease;
}

.rs-service-hero-checklist li:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(248, 150, 51, 0.16);
    border-color: rgba(248, 150, 51, 0.35);
}

.rs-service-hero-checklist li i {
    font-size: 22px;
    color: var(--rs-theme-medium-green);
    flex-shrink: 0;
}

.rs-service-hero-checklist li span {
    font-weight: 700;
    color: var(--rs-title-primary);
    font-size: 15px;
}

@media only screen and (max-width: 575px) {
    .rs-service-hero-checklist {
        grid-template-columns: 1fr;
    }
}

/* features */
.rs-service-features {
    padding: 70px 0;
    background: #fff;
}

@media only screen and (max-width: 767px) {
    .rs-service-features {
        padding: 60px 0;
    }
}

.rs-service-section-title {
    max-width: 620px;
    margin: 0 auto 55px;
    text-align: center;
}

.rs-service-section-title span.rs-section-subtitle {
    justify-content: center;
}

.rs-service-section-title p {
    color: #5A5A5A;
    margin-top: 14px;
}

.rs-tilt-card {
    position: relative;
    height: 100%;
    padding: 38px 32px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(13, 42, 60, 0.06);
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.15s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

.rs-tilt-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1.5px;
    background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(248, 150, 51, 0.65), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.rs-tilt-card.is-tilting {
    box-shadow: 0 30px 55px rgba(248, 150, 51, 0.22);
    border-color: rgba(248, 150, 51, 0.3);
}

.rs-tilt-card.is-tilting::before {
    opacity: 1;
}

.rs-tilt-card-icon {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 150, 51, 0.12);
    margin-bottom: 22px;
}

.rs-tilt-card-icon i {
    font-size: 28px;
    color: var(--rs-theme-medium-green);
}

.rs-tilt-card h5 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--rs-title-primary);
}

.rs-tilt-card p {
    font-size: 14.5px;
    color: #6D6D6D;
    margin-bottom: 0;
}

/* process */
.rs-service-process {
    padding: 70px 0;
    background: #F7F9F8;
}

@media only screen and (max-width: 767px) {
    .rs-service-process {
        padding: 60px 0;
    }
}

.rs-process-track {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 20px;
    margin-top: 60px;
}

.rs-process-track::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(248, 150, 51, 0.4) 0 10px, transparent 10px 18px);
    z-index: 0;
}

@media only screen and (max-width: 991px) {
    .rs-process-track {
        flex-direction: column;
        gap: 30px;
    }

    .rs-process-track::before {
        display: none;
    }
}

.rs-process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

@media only screen and (max-width: 991px) {
    .rs-process-step {
        text-align: left;
        display: flex;
        gap: 18px;
        align-items: flex-start;
    }
}

.rs-process-num {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #0D2A3C;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 12px 24px rgba(13, 42, 60, 0.25);
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.rs-process-step:hover .rs-process-num {
    background: var(--rs-theme-medium-green);
    color: #0D2A3C;
    transform: translateY(-4px) scale(1.05);
}

@media only screen and (max-width: 991px) {
    .rs-process-num {
        margin: 0;
    }
}

.rs-process-step h6 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.rs-process-step p {
    font-size: 13.5px;
    color: #6D6D6D;
    max-width: 190px;
    margin: 0 auto;
}

@media only screen and (max-width: 991px) {
    .rs-process-step p {
        max-width: none;
        margin: 0;
    }
}

/* cta */
.rs-service-cta {
    padding: 0 0 110px;
    background: #F7F9F8;
}

@media only screen and (max-width: 767px) {
    .rs-service-cta {
        padding: 0 0 60px;
    }
}

.rs-service-cta-inner {
    position: relative;
    border-radius: 24px;
    background: linear-gradient(135deg, #0D2A3C, #123449);
    padding: 60px 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    box-shadow: 0 30px 60px rgba(13, 42, 60, 0.25);
    overflow: hidden;
}

@media only screen and (max-width: 575px) {
    .rs-service-cta-inner {
        padding: 40px 28px;
    }
}

.rs-service-cta-inner::before {
    content: "";
    position: absolute;
    inset-inline-end: -80px;
    top: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(248, 150, 51, 0.16);
}

.rs-service-cta-text {
    position: relative;
    z-index: 1;
}

.rs-service-cta-text h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 8px;
}

.rs-service-cta-text p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0;
}

.rs-service-cta-inner .rs-btn {
    position: relative;
    z-index: 1;
}

/* related services */
.rs-service-related {
    padding: 0 0 110px;
    background: #F7F9F8;
}

.rs-service-related-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 22px 24px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(13, 42, 60, 0.04);
}

.rs-service-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(248, 150, 51, 0.16);
    border-color: rgba(248, 150, 51, 0.35);
}

.rs-service-related-card i {
    font-size: 26px;
    color: var(--rs-theme-medium-green);
    flex-shrink: 0;
}

.rs-service-related-card span {
    font-weight: 700;
    color: var(--rs-title-primary);
    font-size: 15.5px;
}
