/* =========================================================
   HPS — Modern Theme: Inner Pages Compatibility Layer
   Modernizes the legacy .rts-* classes used in: about,
   accounting, hr, ged, legalization, accounting-course,
   blog, blog-details, projects, project-details, 404.
   Loaded after modern.css.
   ========================================================= */

/* =========================================================
   PAGE HERO / BREADCRUMB
   ========================================================= */
body.hps-page .rts-breadcrumb-area {
    position: relative;
    padding: 180px 0 100px;
    background:
        radial-gradient(ellipse 60% 80% at 90% 50%, rgba(139, 188, 56, .14) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 10% 80%, rgba(139, 188, 56, .08) 0%, transparent 60%),
        linear-gradient(180deg, #FFFFFF 0%, #F7FBEC 100%) !important;
    overflow: hidden;
    isolation: isolate;
}

@media (max-width: 768px) {
    body.hps-page .rts-breadcrumb-area { padding: 140px 0 70px; }
}

/* Decorative dot grid */
body.hps-page .rts-breadcrumb-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(14, 23, 38, .1) 1px, transparent 1.4px);
    background-size: 28px 28px;
    opacity: .4;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 75%);
    pointer-events: none;
    z-index: -1;
}

/* Decorative green orb */
body.hps-page .rts-breadcrumb-area::after {
    content: '';
    position: absolute;
    top: 30%;
    right: -100px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 188, 56, .25) 0%, transparent 70%);
    filter: blur(2px);
    z-index: -1;
    animation: hps-orb-drift 10s ease-in-out infinite;
}

@keyframes hps-orb-drift {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-30px, 20px); }
}

body.hps-page .rts-breadcrumb-area .container {
    position: relative;
    z-index: 2;
    max-width: 1240px;
}

body.hps-page .rts-breadcrumb-area .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

/* Page title */
body.hps-page .rts-breadcrumb-area .title,
body.hps-page .rts-breadcrumb-area h1.title {
    font-family: var(--hps-font-display) !important;
    font-size: clamp(36px, 5vw, 56px) !important;
    font-weight: 800 !important;
    color: var(--hps-ink) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
    margin: 0 !important;
}

/* Breadcrumb tag */
body.hps-page .rts-breadcrumb-area .bread-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--hps-line);
    box-shadow: var(--hps-shadow-xs);
    font-family: var(--hps-font);
    font-size: 14px;
    font-weight: 500;
    margin-top: 14px;
}

@media (min-width: 992px) {
    body.hps-page .rts-breadcrumb-area .col-xl-6:last-child {
        text-align: right;
    }
    body.hps-page .rts-breadcrumb-area .bread-tag {
        margin-top: 0;
    }
}

body.hps-page .rts-breadcrumb-area .bread-tag a {
    color: var(--hps-ink-500) !important;
    text-decoration: none !important;
    transition: color .2s ease;
}

body.hps-page .rts-breadcrumb-area .bread-tag a:hover {
    color: var(--hps-green-700) !important;
}

body.hps-page .rts-breadcrumb-area .bread-tag a.active {
    color: var(--hps-green-700) !important;
    font-weight: 600;
}

body.hps-page .rts-breadcrumb-area .bread-tag span {
    color: var(--hps-ink-300) !important;
}

/* =========================================================
   SINGLE-SLIDE BANNERS (used in service pages)
   ========================================================= */
body.hps-page .rts-banner-area.rts-banner-one {
    position: relative;
    padding: 0 !important;
    margin-top: 0;
}

body.hps-page .rts-banner-area .swiper-slide {
    min-height: 480px !important;
    position: relative;
    padding: 100px 0 80px !important;
    display: flex !important;
    align-items: center;
    background-size: cover !important;
    background-position: center !important;
    isolation: isolate;
}

@media (max-width: 768px) {
    body.hps-page .rts-banner-area .swiper-slide { min-height: 380px !important; padding: 80px 0 60px !important; }
}

/* Dark gradient overlay for readability */
body.hps-page .rts-banner-area .swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(14, 23, 38, .75) 0%, rgba(14, 23, 38, .35) 60%, rgba(139, 188, 56, .25) 100%);
    z-index: 1;
}

body.hps-page .rts-banner-area .banner-one-inner {
    position: relative;
    z-index: 3;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

body.hps-page .rts-banner-area .banner-one-inner .title,
body.hps-page .rts-banner-area .banner-one-inner h1 {
    font-family: var(--hps-font-display) !important;
    font-size: clamp(36px, 5.5vw, 64px) !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 18px !important;
}

body.hps-page .rts-banner-area .banner-one-inner .disc,
body.hps-page .rts-banner-area .banner-one-inner p {
    color: rgba(255, 255, 255, .9) !important;
    font-family: var(--hps-font) !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
    max-width: 560px;
    margin: 0 0 24px !important;
}

body.hps-page .rts-banner-area .swiper-slide .shape-img,
body.hps-page .rts-banner-area .animation-img { display: none !important; }

body.hps-page .rts-banner-area .swiper-pagination { display: none !important; }

/* =========================================================
   SECTION SPACING
   ========================================================= */
body.hps-page .rts-section-gap         { padding: 100px 0 !important; }
body.hps-page .rts-section-gapTop      { padding-top: 100px !important; }
body.hps-page .rts-section-gapBottom   { padding-bottom: 100px !important; }

@media (max-width: 768px) {
    body.hps-page .rts-section-gap       { padding: 64px 0 !important; }
    body.hps-page .rts-section-gapTop    { padding-top: 64px !important; }
    body.hps-page .rts-section-gapBottom { padding-bottom: 64px !important; }
}

body.hps-page section[class*="rts-"],
body.hps-page div[class*="rts-section"] {
    position: relative;
}

/* =========================================================
   TITLE AREA (.pre-title + .title)
   ========================================================= */
body.hps-page .rts-title-area .pre-title {
    display: inline-block;
    font-family: var(--hps-font) !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: var(--hps-green-700) !important;
    background: var(--hps-green-50);
    padding: 6px 14px;
    border-radius: 999px;
    margin: 0 0 16px !important;
    border: 1px solid var(--hps-green-100);
}

body.hps-page .rts-title-area .title {
    font-family: var(--hps-font-display) !important;
    font-size: clamp(28px, 3.4vw, 42px) !important;
    font-weight: 800 !important;
    color: var(--hps-ink) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.025em !important;
    margin: 0 0 14px !important;
}

body.hps-page .rts-title-area .title strong,
body.hps-page .rts-title-area .title .text-success {
    color: var(--hps-green) !important;
    font-weight: 800;
}

/* Section text inside .product-details-main-inner / .disc */
body.hps-page .product-details-main-inner .disc,
body.hps-page .product-details-main-inner p,
body.hps-page .about-inner .disc,
body.hps-page .about-inner p {
    color: var(--hps-ink-500) !important;
    font-family: var(--hps-font) !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

body.hps-page .product-details-main-inner strong,
body.hps-page .about-inner strong {
    color: var(--hps-ink) !important;
}

/* =========================================================
   SERVICE CARDS (.service-two-inner)
   ========================================================= */
body.hps-page .service-two-inner {
    background: #fff;
    border: 1px solid var(--hps-line);
    border-radius: var(--hps-radius-lg);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

body.hps-page .service-two-inner:hover {
    transform: translateY(-6px);
    box-shadow: var(--hps-shadow-lg);
    border-color: rgba(139, 188, 56, .35);
}

body.hps-page .service-two-inner .thumbnail {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

body.hps-page .service-two-inner .thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform .6s ease;
    display: block;
}

body.hps-page .service-two-inner:hover .thumbnail img {
    transform: scale(1.06);
}

body.hps-page .service-two-inner .body-content {
    padding: 24px 26px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.hps-page .service-two-inner .body-content .title {
    font-family: var(--hps-font-display) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--hps-ink) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.015em !important;
    margin: 0 0 10px !important;
}

body.hps-page .service-two-inner .body-content .dsic,
body.hps-page .service-two-inner .body-content p {
    color: var(--hps-ink-500) !important;
    font-family: var(--hps-font) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0;
}

/* =========================================================
   ABOUT — success wrapper (checks list)
   ========================================================= */
body.hps-page .about-success-wrapper { margin-top: 20px !important; }

body.hps-page .about-success-wrapper .single {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
}

body.hps-page .about-success-wrapper .single i.fa-check,
body.hps-page .about-success-wrapper .single .fa-check {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0;
    background: var(--hps-green) !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    margin-top: 2px;
}

body.hps-page .about-success-wrapper .single .details,
body.hps-page .about-success-wrapper .single p {
    color: var(--hps-ink-700) !important;
    font-family: var(--hps-font) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin: 0;
}

/* =========================================================
   ABOUT — founder card
   ========================================================= */
body.hps-page .about-founder-wrapper {
    background: linear-gradient(135deg, var(--hps-bg-soft) 0%, #fff 100%);
    border: 1px solid var(--hps-line);
    border-radius: var(--hps-radius-lg);
    padding: 22px !important;
    margin-top: 32px !important;
    --bs-gutter-x: 0;
}

body.hps-page .author-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

body.hps-page .author-inner .thumbnail {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    border: 3px solid #fff;
    box-shadow: var(--hps-shadow);
}

body.hps-page .author-inner .thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.hps-page .author-inner .founder-details .title,
body.hps-page .author-inner .founder-details h6 {
    font-family: var(--hps-font-display) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--hps-ink) !important;
    margin: 0 0 2px !important;
}

body.hps-page .author-inner .founder-details span {
    color: var(--hps-green-700) !important;
    font-family: var(--hps-font) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

body.hps-page .author-call-option {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    body.hps-page .author-call-option { justify-content: flex-start; margin-top: 14px; }
}

body.hps-page .author-call-option .authore-call {
    width: 44px !important;
    height: 44px;
    border-radius: 50%;
    background: var(--hps-green);
    padding: 12px;
    box-shadow: var(--hps-shadow-green);
}

body.hps-page .author-call-option .call-details span {
    display: block;
    color: var(--hps-ink-400);
    font-family: var(--hps-font);
    font-size: 12px;
}

body.hps-page .author-call-option .call-details .title,
body.hps-page .author-call-option .call-details h6 {
    font-family: var(--hps-font-display) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--hps-ink) !important;
    margin: 2px 0 0 !important;
}

body.hps-page .author-call-option .call-details a {
    color: var(--hps-ink) !important;
    text-decoration: none !important;
}

/* =========================================================
   EXPERIENCE BADGE (about page image)
   ========================================================= */
body.hps-page .about-one-thumbnail {
    position: relative;
    border-radius: var(--hps-radius-lg);
    overflow: hidden;
}

body.hps-page .about-one-thumbnail > img {
    border-radius: var(--hps-radius-lg);
    width: 100%;
    height: auto;
    display: block;
}

body.hps-page .about-one-thumbnail .small-img {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 45%;
    border-radius: var(--hps-radius);
    border: 8px solid #fff;
    box-shadow: var(--hps-shadow-lg);
    z-index: 2;
}

body.hps-page .about-one-thumbnail .experience {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 3;
    background: #fff;
    border-radius: var(--hps-radius);
    padding: 16px 20px;
    box-shadow: var(--hps-shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
}

body.hps-page .about-one-thumbnail .experience .single { padding: 0 !important; margin: 0 !important; }

body.hps-page .about-one-thumbnail .experience .title {
    font-family: var(--hps-font-display) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: var(--hps-green) !important;
    line-height: 1 !important;
    margin: 0 !important;
}

body.hps-page .about-one-thumbnail .experience .disc {
    color: var(--hps-ink-500) !important;
    font-size: 11px !important;
    font-family: var(--hps-font) !important;
    line-height: 1.3 !important;
    max-width: 110px;
    margin: 0 !important;
}

/* =========================================================
   BUSINESS GOAL (Mission/Vision/Values cards in service pages)
   ========================================================= */
body.hps-page .rts-business-goal .single-goal,
body.hps-page .single-goal {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--hps-line);
    border-radius: var(--hps-radius);
    margin-bottom: 14px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

body.hps-page .rts-business-goal .single-goal:hover,
body.hps-page .single-goal:hover {
    transform: translateY(-2px);
    box-shadow: var(--hps-shadow);
    border-color: rgba(139, 188, 56, .35);
}

body.hps-page .single-goal img.thumb {
    width: 48px !important;
    height: 48px !important;
    padding: 10px;
    background: var(--hps-green-50);
    border-radius: 12px;
    flex-shrink: 0;
}

body.hps-page .single-goal .goal-wrapper .title,
body.hps-page .single-goal .goal-wrapper h6 {
    font-family: var(--hps-font-display) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--hps-ink) !important;
    margin: 0 0 6px !important;
}

body.hps-page .single-goal .goal-wrapper .disc,
body.hps-page .single-goal .goal-wrapper p {
    color: var(--hps-ink-500) !important;
    font-family: var(--hps-font) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* =========================================================
   COUNTERS
   ========================================================= */
body.hps-page .rts-counter-up-area {
    background: var(--hps-ink) !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

body.hps-page .rts-counter-up-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(139, 188, 56, .2), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 188, 56, .12), transparent 50%);
    z-index: -1;
}

body.hps-page .rts-counter-up-area .single-counter {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
}

body.hps-page .rts-counter-up-area .single-counter img {
    width: 56px !important;
    height: 56px !important;
    padding: 12px;
    background: rgba(139, 188, 56, .15);
    border-radius: 14px;
    border: 1px solid rgba(139, 188, 56, .3);
}

body.hps-page .rts-counter-up-area .counter-details .title,
body.hps-page .rts-counter-up-area .counter-details h2 {
    font-family: var(--hps-font-display) !important;
    font-size: clamp(32px, 4vw, 48px) !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1 !important;
    margin: 0 0 4px !important;
}

body.hps-page .rts-counter-up-area .counter-details .disc {
    color: rgba(255, 255, 255, .7) !important;
    font-family: var(--hps-font) !important;
    font-size: 13px !important;
    margin: 0 !important;
}

/* =========================================================
   FEATURE area (with check list)
   ========================================================= */
body.hps-page .rts-feature-area .bg-white-feature {
    background: #fff;
    border-radius: var(--hps-radius-xl);
    border: 1px solid var(--hps-line);
}

body.hps-page .rts-feature-area .feature-one-wrapper { margin-top: 28px !important; }

body.hps-page .rts-feature-area .single-feature-one {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

body.hps-page .rts-feature-area .single-feature-one i.fa-check,
body.hps-page .rts-feature-area .single-feature-one .fa-check {
    width: 24px !important;
    height: 24px !important;
    background: var(--hps-green) !important;
    color: #fff !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px !important;
    flex-shrink: 0;
}

body.hps-page .rts-feature-area .single-feature-one p {
    color: var(--hps-ink) !important;
    font-family: var(--hps-font) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

/* =========================================================
   CTA banner (.cta-one-bg)
   ========================================================= */
body.hps-page .cta-one-bg {
    border-radius: var(--hps-radius-xl);
    overflow: hidden;
    margin-top: 40px !important;
    isolation: isolate;
    position: relative;
}

body.hps-page .cta-one-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 23, 38, .85) 0%, rgba(139, 188, 56, .55) 100%);
    z-index: 1;
}

body.hps-page .cta-one-bg .cta-one-inner {
    position: relative;
    z-index: 3;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    height: 100%;
}

body.hps-page .cta-one-bg .title {
    color: #fff !important;
    font-family: var(--hps-font-display) !important;
    font-size: clamp(20px, 2.4vw, 26px) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    max-width: 560px;
}

body.hps-page .cta-one-bg .rts-btn.btn-white {
    background: #fff !important;
    color: var(--hps-ink) !important;
    border-radius: 999px !important;
    padding: 12px 24px !important;
    font-family: var(--hps-font) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
    border: 0;
}

body.hps-page .cta-one-bg .rts-btn.btn-white:hover {
    background: var(--hps-green);
    color: #fff !important;
    transform: translateY(-2px);
}

/* =========================================================
   BUTTONS (legacy .rts-btn variations across pages)
   ========================================================= */
body.hps-page .rts-btn.btn-primary,
body.hps-page .rts-read-more.btn-primary {
    background: var(--hps-green) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 12px 24px !important;
    font-family: var(--hps-font) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    border: 0 !important;
    box-shadow: var(--hps-shadow-green) !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.hps-page .rts-btn.btn-primary:hover {
    background: var(--hps-green-600) !important;
    transform: translateY(-2px);
}

body.hps-page .rts-read-more.btn-primary {
    background: transparent !important;
    color: var(--hps-green-700) !important;
    box-shadow: none !important;
    padding: 8px 0 !important;
}

body.hps-page .rts-read-more.btn-primary:hover {
    background: transparent !important;
    color: var(--hps-green-700) !important;
    transform: none;
}

body.hps-page .rts-read-more.btn-primary i {
    transition: transform .2s ease;
}

body.hps-page .rts-read-more.btn-primary:hover i {
    transform: translateX(4px);
}

/* =========================================================
   IMAGE CONTAINERS — give consistent rounded corners
   ========================================================= */
body.hps-page .about-one-thumbnail img,
body.hps-page .business-goal-one img,
body.hps-page .thumbnail-gallery img,
body.hps-page .product-details-main-inner img {
    border-radius: var(--hps-radius);
}

body.hps-page .business-goal-one img {
    border: 6px solid #fff !important;
    box-shadow: var(--hps-shadow-lg);
}

body.hps-page .business-goal-one img.small {
    border-radius: var(--hps-radius);
    border: 6px solid #fff !important;
}

/* =========================================================
   GALLERY area
   ========================================================= */
body.hps-page .rts-gallery-area .bg-right-gallery {
    background: #fff;
    border: 1px solid var(--hps-line);
    border-radius: var(--hps-radius-lg);
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.hps-page .rts-gallery-area .bg-right-gallery .icon {
    width: 56px;
    height: 56px;
    background: var(--hps-green-50);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

body.hps-page .rts-gallery-area .bg-right-gallery .icon img {
    width: 28px !important;
    height: 28px !important;
}

body.hps-page .rts-gallery-area .bg-right-gallery .title {
    font-family: var(--hps-font-display) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--hps-ink) !important;
    margin: 0 0 10px !important;
}

body.hps-page .rts-gallery-area .bg-right-gallery .disc {
    color: var(--hps-ink-500) !important;
    font-size: 15px !important;
    margin: 0 0 18px !important;
}

/* =========================================================
   BLOG LIST PAGE
   ========================================================= */
body.hps-page .rts-blog-area .single-blog-one-wrapper,
body.hps-page .rts-blog-list-area .single-blog-one-wrapper {
    background: #fff;
    border: 1px solid var(--hps-line);
    border-radius: var(--hps-radius-lg);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.hps-page .rts-blog-area .single-blog-one-wrapper:hover,
body.hps-page .rts-blog-list-area .single-blog-one-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: var(--hps-shadow-lg);
    border-color: rgba(139, 188, 56, .35);
}

body.hps-page .single-blog-one-wrapper .thumbnail {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

body.hps-page .single-blog-one-wrapper .thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform .6s ease;
}

body.hps-page .single-blog-one-wrapper:hover .thumbnail img {
    transform: scale(1.05);
}

body.hps-page .single-blog-one-wrapper .blog-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #fff;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--hps-ink);
    box-shadow: var(--hps-shadow-sm);
}

body.hps-page .single-blog-one-wrapper .blog-content {
    padding: 22px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.hps-page .single-blog-one-wrapper .blog-content .title {
    font-family: var(--hps-font-display) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--hps-ink) !important;
    line-height: 1.3 !important;
    margin: 0 0 12px !important;
    transition: color .2s ease;
}

body.hps-page .single-blog-one-wrapper a:hover .title { color: var(--hps-green-700) !important; }

body.hps-page .single-blog-one-wrapper .blog-content p {
    color: var(--hps-ink-500) !important;
    font-family: var(--hps-font) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 0 14px !important;
    flex: 1;
}

/* =========================================================
   TEAM area on other pages (uses .team-single-one-start)
   ========================================================= */
body.hps-page .team-single-one-start {
    background: #fff;
    border-radius: var(--hps-radius-lg);
    overflow: hidden;
    border: 1px solid var(--hps-line);
    transition: transform .3s ease, box-shadow .3s ease;
}

body.hps-page .team-single-one-start:hover {
    transform: translateY(-4px);
    box-shadow: var(--hps-shadow-lg);
}

body.hps-page .team-single-one-start .team-image-area {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

body.hps-page .team-single-one-start .team-image-area img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.hps-page .team-single-one-start .single-details {
    padding: 20px;
    text-align: center;
}

body.hps-page .team-single-one-start .single-details .title {
    font-family: var(--hps-font-display) !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    margin: 0 0 4px !important;
}

body.hps-page .team-single-one-start .single-details p {
    color: var(--hps-green-700) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

/* =========================================================
   404 page
   ========================================================= */
body.hps-page .rts-error-area,
body.hps-page .rts-404-area,
body.hps-page .error-area {
    background: linear-gradient(180deg, #FFFFFF 0%, #F7FBEC 100%) !important;
    padding: 180px 0 100px !important;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

body.hps-page .error-content h1,
body.hps-page .error-area .title {
    font-family: var(--hps-font-display) !important;
    font-size: clamp(80px, 14vw, 160px) !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, var(--hps-green), var(--hps-green-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1 !important;
    margin: 0 0 16px !important;
}

body.hps-page .error-content h2 {
    font-family: var(--hps-font-display) !important;
    font-size: clamp(24px, 3vw, 36px) !important;
    font-weight: 700 !important;
    color: var(--hps-ink) !important;
    margin: 0 0 12px !important;
}

body.hps-page .error-content p {
    color: var(--hps-ink-500) !important;
    font-size: 16px !important;
    margin: 0 0 24px !important;
}

/* =========================================================
   PROJECTS gallery page
   ========================================================= */
body.hps-page .rts-projects-area .single-project,
body.hps-page .single-portfolio-card {
    background: #fff;
    border: 1px solid var(--hps-line);
    border-radius: var(--hps-radius-lg);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

body.hps-page .rts-projects-area .single-project:hover,
body.hps-page .single-portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hps-shadow-lg);
    border-color: rgba(139, 188, 56, .35);
}

/* =========================================================
   PROGRESS / SCROLL TOP
   ========================================================= */
body.hps-page .progress-wrap {
    bottom: 24px !important;
    right: 24px !important;
}

/* =========================================================
   MODERN SERVICE PAGES — new markup (NOT legacy overrides)
   Used by rewritten accounting, hr, ged, legalization pages.
   ========================================================= */

/* ----- Service Hero ----- */
.hps-service-hero {
    position: relative;
    padding: 160px 0 90px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse 50% 70% at 90% 30%, rgba(139, 188, 56, .18) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 10% 80%, rgba(139, 188, 56, .1) 0%, transparent 60%),
        linear-gradient(180deg, #FFFFFF 0%, #F7FBEC 100%);
}

@media (max-width: 768px) { .hps-service-hero { padding: 130px 0 60px; } }

.hps-service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(14, 23, 38, .08) 1px, transparent 1.4px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 65% 60% at 60% 50%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse 65% 60% at 60% 50%, #000 30%, transparent 75%);
    opacity: .5;
    pointer-events: none;
    z-index: -1;
}

.hps-service-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}

@media (max-width: 991px) {
    .hps-service-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hps-service-hero-content { position: relative; z-index: 2; }

.hps-service-hero h1 {
    font-family: var(--hps-font-display);
    font-size: clamp(38px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--hps-ink);
    margin: 0 0 22px;
}

.hps-service-hero h1 .accent {
    color: var(--hps-green);
    display: inline-block;
    position: relative;
}

.hps-service-hero-lead {
    font-size: 17px;
    line-height: 1.65;
    color: var(--hps-ink-500);
    max-width: 540px;
    margin: 0 0 32px;
}

.hps-service-hero-ctas {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-bottom: 36px;
}

@media (max-width: 480px) { .hps-service-hero-ctas { flex-wrap: wrap; } }

.hps-service-hero-bullets {
    display: grid;
    gap: 10px;
}

.hps-service-hero-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--hps-ink-700);
    font-family: var(--hps-font);
    font-size: 15px;
    font-weight: 500;
}

.hps-service-hero-bullets li .hps-svg {
    width: 22px;
    height: 22px;
    padding: 5px;
    background: var(--hps-green);
    color: #fff;
    border-radius: 50%;
    box-sizing: content-box;
}

.hps-service-hero-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--hps-radius-lg);
    overflow: hidden;
    box-shadow: var(--hps-shadow-lg);
}

.hps-service-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hps-service-hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 65%, rgba(139, 188, 56, .35));
    pointer-events: none;
}

/* Floating badge over the image */
.hps-service-hero-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: #fff;
    border-radius: var(--hps-radius);
    padding: 14px 18px;
    box-shadow: var(--hps-shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    max-width: calc(100% - 48px);
}

.hps-service-hero-badge .ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--hps-green-50);
    color: var(--hps-green-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hps-service-hero-badge strong {
    display: block;
    font-family: var(--hps-font-display);
    font-weight: 800;
    color: var(--hps-ink);
    font-size: 16px;
    line-height: 1.1;
}

.hps-service-hero-badge span {
    display: block;
    font-size: 12px;
    color: var(--hps-ink-400);
    margin-top: 2px;
}

/* ----- MVV section (Mission/Vision/Advantages) ----- */
.hps-service-mvv {
    background: #fff;
    padding: 100px 0;
}

@media (max-width: 768px) { .hps-service-mvv { padding: 64px 0; } }

.hps-mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .hps-mvv-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

.hps-mvv-card {
    background: #fff;
    border: 1px solid var(--hps-line);
    border-radius: var(--hps-radius-lg);
    padding: 32px 28px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative;
    overflow: hidden;
}

.hps-mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at top right, rgba(139, 188, 56, .14), transparent 60%);
    pointer-events: none;
}

.hps-mvv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hps-shadow-lg);
    border-color: rgba(139, 188, 56, .35);
}

.hps-mvv-card .ico {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--hps-green-50);
    color: var(--hps-green-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.hps-mvv-card h3 {
    font-family: var(--hps-font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--hps-ink);
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}

.hps-mvv-card p {
    font-family: var(--hps-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--hps-ink-500);
    margin: 0;
}

/* ----- Values section (4 cards in grid + intro) ----- */
.hps-service-values {
    background: var(--hps-bg-soft);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) { .hps-service-values { padding: 64px 0; } }

.hps-values-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: start;
}

@media (max-width: 991px) { .hps-values-grid { grid-template-columns: 1fr; gap: 36px; } }

.hps-values-content > p {
    font-family: var(--hps-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--hps-ink-500);
    margin: 0 0 14px;
}

.hps-values-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

@media (max-width: 600px) { .hps-values-cards { grid-template-columns: 1fr; } }

.hps-value-card {
    background: #fff;
    border: 1px solid var(--hps-line);
    border-radius: var(--hps-radius);
    padding: 22px 20px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.hps-value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--hps-shadow);
    border-color: rgba(139, 188, 56, .35);
}

.hps-value-card .ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--hps-green-50);
    color: var(--hps-green-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.hps-value-card h4 {
    font-family: var(--hps-font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--hps-ink);
    letter-spacing: -0.01em;
    margin: 0 0 6px;
}

.hps-value-card p {
    font-family: var(--hps-font);
    font-size: 14px;
    line-height: 1.55;
    color: var(--hps-ink-500);
    margin: 0;
}

/* Values aside: image + services list */
.hps-values-aside {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 20px;
}

@media (max-width: 991px) { .hps-values-aside { position: static; } }

.hps-values-image {
    border-radius: var(--hps-radius-lg);
    overflow: hidden;
    box-shadow: var(--hps-shadow);
}

.hps-values-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hps-services-list-card {
    background: var(--hps-ink);
    border-radius: var(--hps-radius-lg);
    padding: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hps-services-list-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(139, 188, 56, .25), transparent 60%);
    z-index: -1;
}

.hps-services-list-card h4 {
    font-family: var(--hps-font-display);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.hps-services-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
}

.hps-services-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, .85) !important;
    text-decoration: none !important;
    font-family: var(--hps-font);
    font-size: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.hps-services-list a:hover {
    background: rgba(139, 188, 56, .18);
    border-color: rgba(139, 188, 56, .45);
    color: #fff !important;
    transform: translateX(4px);
}

.hps-services-list a .hps-svg {
    color: var(--hps-green);
    flex-shrink: 0;
}

/* ----- Process steps (GED) ----- */
.hps-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 991px) { .hps-process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hps-process-grid { grid-template-columns: 1fr; } }

.hps-process-card {
    background: #fff;
    border: 1px solid var(--hps-line);
    border-radius: var(--hps-radius-lg);
    padding: 28px 22px;
    text-align: left;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.hps-process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hps-shadow-lg);
    border-color: rgba(139, 188, 56, .35);
}

.hps-process-card .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--hps-green), var(--hps-green-700));
    color: #fff;
    font-family: var(--hps-font-display);
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 18px;
    box-shadow: var(--hps-shadow-green);
}

.hps-process-card .ico {
    position: absolute;
    top: 24px;
    right: 22px;
    color: var(--hps-green);
    opacity: .25;
}

.hps-process-card h4 {
    font-family: var(--hps-font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--hps-ink);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.hps-process-card p {
    font-family: var(--hps-font);
    font-size: 14px;
    line-height: 1.55;
    color: var(--hps-ink-500);
    margin: 0;
}

/* ----- Service department CTA (bottom) ----- */
.hps-service-department {
    background: #fff;
    padding: 60px 0 100px;
}

.hps-department-card {
    background:
        radial-gradient(ellipse 60% 60% at 95% 5%, rgba(255, 255, 255, .18), transparent 60%),
        linear-gradient(135deg, var(--hps-green) 0%, var(--hps-green-700) 100%);
    border-radius: var(--hps-radius-xl);
    padding: 48px 56px;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 32px;
    box-shadow: 0 30px 60px -20px rgba(95, 138, 26, .45);
}

@media (max-width: 768px) {
    .hps-department-card { padding: 36px 28px; grid-template-columns: 1fr; gap: 24px; }
}

.hps-department-card::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .18) 0%, transparent 70%);
}

.hps-department-card h2 {
    font-family: var(--hps-font-display);
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 10px;
    position: relative;
    z-index: 2;
}

.hps-department-card p {
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    margin: 0 0 14px;
    position: relative;
    z-index: 2;
    max-width: 540px;
}

.hps-department-card .hps-department-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    justify-content: flex-end;
}

@media (max-width: 768px) { .hps-department-card .hps-department-actions { justify-content: flex-start; } }
