/* =================================================================
   SERVICES PAGE - Professional & Symmetrical Design
   ================================================================= */

body.services-page {
    font-family: "Inter", "Poppins", sans-serif;
    background: #0b1120;
    color: rgba(226, 232, 240, 0.9);
    line-height: 1.6;
    font-size: 0.9rem;
}

body.services-page .section {
    padding: clamp(4rem, 8vw, 6rem) 0;
}

body.services-page .container {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding-inline: clamp(1.5rem, 5vw, 3rem);
}

body.services-page .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

body.services-page .section-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.services-page .section-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    color: rgba(203, 213, 225, 0.9);
    margin: 0 auto;
    max-width: 70ch;
}

/* =================================================================
   SERVICES OVERVIEW SECTION (moved from index)
   ================================================================= */

body.services-page .services-overview-section {
    background:
        radial-gradient(circle at 18% 8%, rgba(59, 130, 246, 0.1) 0%, transparent 44%),
        radial-gradient(circle at 82% 92%, rgba(139, 92, 246, 0.08) 0%, transparent 42%),
        linear-gradient(180deg, rgba(11, 17, 32, 0.78) 0%, rgba(15, 23, 42, 0.9) 100%);
}

body.services-page .services-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 420px));
    justify-content: center;
    gap: clamp(1rem, 2.3vw, 1.5rem);
    margin-top: clamp(1.4rem, 3vw, 2rem);
}

body.services-page .services-overview-card {
    background: linear-gradient(165deg, rgba(10, 14, 33, 0.82), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 1.05rem;
    padding: clamp(1.2rem, 2.2vw, 1.55rem);
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
    box-shadow: 0 30px 70px -42px rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(14px);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

body.services-page .services-overview-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.45);
    box-shadow: 0 36px 80px -38px rgba(59, 130, 246, 0.24);
}

body.services-page .services-overview-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.24), rgba(124, 58, 237, 0.2));
    color: #60a5fa;
    font-size: 1.35rem;
    margin-bottom: 0.15rem;
}

body.services-page .services-overview-card h3 {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: clamp(1rem, 1.7vw, 1.14rem);
    line-height: 1.32;
    color: #f8fafc;
}

body.services-page .services-overview-card > p {
    margin: 0;
    color: rgba(203, 213, 225, 0.86);
    font-size: clamp(0.82rem, 1.4vw, 0.92rem);
    line-height: 1.55;
}

body.services-page .services-overview-benefits {
    list-style: none;
    margin: 0.3rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

body.services-page .services-overview-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.52rem;
    color: rgba(226, 232, 240, 0.9);
    font-size: clamp(0.78rem, 1.25vw, 0.85rem);
    line-height: 1.42;
}

body.services-page .services-overview-benefits li i {
    color: var(--success);
    font-size: 0.78rem;
    margin-top: 0.18rem;
    flex-shrink: 0;
}

body.services-page .services-overview-action {
    margin-top: auto;
    padding-top: 0.7rem;
}

body.services-page .services-overview-action .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.46rem;
    padding: 0.58rem 1rem;
    border-radius: 0.55rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 900px) {
    body.services-page .services-overview-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    body.services-page .services-overview-card {
        padding: 1rem;
        border-radius: 0.9rem;
    }

    body.services-page .services-overview-action .btn {
        width: 100%;
    }
}

/* =================================================================
   HERO SECTION
   ================================================================= */

body.services-page .hero-section {
    position: relative;
    min-height: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9)),
        url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=70")
            center/cover no-repeat;
    padding-top: 120px !important;
}

@media (min-width: 768px) {
    /* Един екран по височина: съдържанието се превърта, „Плъзнете надолу“ остава видимо в долната част */
    body.services-page .hero-section {
        min-height: 100vh !important;
        min-height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    body.services-page .hero-content {
        flex: 1 1 auto;
        min-height: 0 !important;
        display: block;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        align-self: stretch;
        padding-bottom: calc(var(--hero-scroll-strip) + var(--hero-scroll-clearance)) !important;
    }

    body.services-page .hero-scroll-indicator {
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        bottom: calc(var(--hero-scroll-bottom-inset) + env(safe-area-inset-bottom, 0px)) !important;
        transform: translate(-50%, 0) !important;
        animation: heroScrollBounce 2.4s ease-in-out infinite;
        z-index: 10;
    }
}

body.services-page .hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

body.services-page .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(30, 41, 59, 0.75) 50%,
        rgba(59, 130, 246, 0.2) 100%
    );
    z-index: 2;
}

body.services-page .hero-particles {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="particles" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.4" fill="rgba(255,255,255,0.08)"/><circle cx="20" cy="10" r="0.3" fill="rgba(59,130,246,0.15)"/><circle cx="10" cy="22" r="0.35" fill="rgba(139,92,246,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23particles)"/></svg>');
    animation: floatParticles 25s linear infinite;
    z-index: 3;
}

@keyframes floatParticles {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-8px) translateX(4px); }
    50% { transform: translateY(-4px) translateX(-2px); }
    75% { transform: translateY(-12px) translateX(2px); }
}

body.services-page .hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
    padding: clamp(2.4rem, 6vw, 4.6rem) 0;
    min-height: 0;
    display: flex;
    align-items: center;
}

body.services-page .hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 6vw, 3rem);
    align-items: center;
    width: min(100%, 1080px);
    margin: 0 auto;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
}

@media (min-width: 1024px) {
    body.services-page .hero-container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
        gap: clamp(2.6rem, 3.8vw, 3.3rem);
        padding-inline: 2.5rem;
    }
}

@media (min-width: 1360px) {
    body.services-page .hero-container {
        width: min(100%, 1180px);
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
    }
}

body.services-page .hero-text {
    text-align: center;
    color: white;
    max-width: clamp(320px, 80vw, 520px);
    margin: 0 auto;
}

@media (min-width: 1024px) {
    body.services-page .hero-text {
        text-align: left;
        margin: 0;
    }
}

body.services-page .hero-title {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

body.services-page .title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.services-page .title-line.emphasis {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.services-page .hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    line-height: 1.62;
    color: rgba(226, 232, 240, 0.85);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    max-width: 62ch;
}

body.services-page .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 2vw, 1rem);
    align-items: stretch;
}

@media (min-width: 480px) {
    body.services-page .hero-buttons {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    body.services-page .hero-buttons {
        justify-content: flex-start;
    }
}

body.services-page .hero-buttons .btn {
    padding: 0.875rem 1.5rem;
    font-size: clamp(0.875rem, 2vw, 0.95rem);
    font-weight: 600;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.services-page .hero-buttons .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

body.services-page .hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

body.services-page .hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

body.services-page .hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Hero Card */
body.services-page .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

body.services-page .hero-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.85) 100%);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.5rem;
    padding: clamp(2rem, 5vw, 3rem);
    text-align: center;
    color: rgba(226, 232, 240, 0.98);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 420px;
    position: relative;
    overflow: hidden;
}

body.services-page .hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: left 0.6s ease;
}

body.services-page .hero-card:hover::before {
    left: 100%;
}

body.services-page .hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 35px 80px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(96, 165, 250, 0.35);
}

body.services-page .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #8b5cf6 100%);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto clamp(1.5rem, 3vw, 2rem);
    font-size: 2rem;
    color: white;
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.services-page .hero-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

body.services-page .hero-card h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: rgba(226, 232, 240, 0.98);
}

body.services-page .hero-card p {
    color: rgba(203, 213, 225, 0.9);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    margin-bottom: 0;
}

body.services-page .card-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

body.services-page .stat {
    text-align: center;
}

body.services-page .stat-number {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #60a5fa;
    display: block;
}

body.services-page .stat-label {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    color: rgba(203, 213, 225, 0.85);
    margin-top: 0.25rem;
}

/* Scroll Indicator — центриране и отстъпи от common.css */
body.services-page .hero-scroll-indicator {
    z-index: 10;
}

body.services-page .hero-scroll-indicator:hover {
    color: #fff;
}

@media (max-width: 767px) {
    body.services-page .hero-section {
        min-height: auto !important;
    }

    body.services-page .hero-content {
        min-height: auto !important;
    }
}

@media (max-width: 900px) {
    body.services-page .hero-section {
        padding-top: clamp(6.2rem, 15vw, 7.8rem) !important;
    }

    body.services-page .hero-content {
        padding: clamp(1.1rem, 5vw, 2rem) 0 clamp(1.8rem, 7vw, 2.6rem);
    }

    body.services-page .hero-container {
        gap: clamp(1.15rem, 4.8vw, 1.7rem);
        padding-inline: clamp(0.95rem, 4.5vw, 1.35rem);
    }

    body.services-page .hero-text {
        max-width: 100%;
    }

    body.services-page .hero-title {
        font-size: clamp(1.35rem, 6.3vw, 2rem);
        line-height: 1.18;
        margin-bottom: 0.9rem;
    }

    body.services-page .hero-subtitle {
        font-size: clamp(0.86rem, 3.2vw, 0.98rem);
        line-height: 1.5;
        margin-bottom: 1.05rem;
        max-width: 100%;
    }

    body.services-page .hero-buttons {
        gap: 0.6rem;
    }

    body.services-page .hero-buttons .btn {
        width: 100%;
        padding: 0.74rem 0.95rem;
        font-size: 0.82rem;
        border-radius: 0.62rem;
    }

    body.services-page .hero-card {
        max-width: 100%;
        padding: clamp(1.1rem, 4.8vw, 1.55rem);
        border-radius: 1.1rem;
    }

    body.services-page .card-icon {
        width: 62px;
        height: 62px;
        font-size: 1.4rem;
        margin-bottom: 0.9rem;
    }

    body.services-page .hero-card h3 {
        font-size: clamp(1rem, 4.2vw, 1.18rem);
    }

    body.services-page .hero-card p {
        font-size: clamp(0.8rem, 2.9vw, 0.9rem);
        line-height: 1.48;
    }

    body.services-page .card-stats {
        margin-top: 1.15rem;
        padding-top: 1.05rem;
        gap: 0.9rem;
    }

    body.services-page .stat-number {
        font-size: clamp(1.2rem, 5vw, 1.45rem);
    }

    body.services-page .hero-scroll-indicator {
        gap: 0.28rem;
        padding: 0.28rem 0.72rem 0.54rem;
    }

    body.services-page .hero-scroll-indicator span {
        font-size: 0.63rem;
        letter-spacing: 0.1em;
    }

    body.services-page .hero-scroll-indicator .scroll-arrow {
        width: 17px;
        height: 17px;
    }
}

/* =================================================================
   CATALOG SECTION
   ================================================================= */

body.services-page .catalog-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
}

body.services-page .catalog-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    z-index: 0;
}

body.services-page .catalog-section > .container {
    position: relative;
    z-index: 1;
}

/* =================================================================
   SERVICES ACCORDION - Professional Grid Layout
   ================================================================= */

body.services-page .services-accordion {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    body.services-page .services-accordion {
        gap: 1.25rem;
    }
}

/* Service Item */
body.services-page .service-item {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 41, 59, 0.5) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

body.services-page .service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s;
}

body.services-page .service-item:hover {
    border-color: rgba(59, 130, 246, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.12);
}

body.services-page .service-item:hover::before {
    opacity: 1;
}

body.services-page .service-item.active {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.7) 100%);
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 16px 50px rgba(59, 130, 246, 0.15);
}

body.services-page .service-item.active::before {
    opacity: 1;
}

/* Service Header */
body.services-page .service-header {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background 0.3s;
}

body.services-page .service-header:hover {
    background: rgba(59, 130, 246, 0.05);
}

body.services-page .service-header:focus-visible,
body.services-page .service-actions .btn:focus-visible,
body.services-page .services-overview-action .btn:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.9);
    outline-offset: 3px;
}

body.services-page .service-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
}

body.services-page .service-item:hover .service-icon,
body.services-page .service-item.active .service-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

body.services-page .service-title {
    flex: 1;
    min-width: 0;
}

body.services-page .service-title h3 {
    color: rgba(226, 232, 240, 0.98);
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.35;
}

body.services-page .service-title p {
    color: rgba(203, 213, 225, 0.8);
    font-size: clamp(0.8rem, 1.6vw, 0.875rem);
    margin: 0;
    line-height: 1.5;
}

body.services-page .service-toggle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

body.services-page .service-toggle:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

body.services-page .service-toggle i {
    font-size: 0.875rem;
    color: rgba(226, 232, 240, 0.8);
    transition: transform 0.3s;
}

body.services-page .service-item.active .service-toggle {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

body.services-page .service-item.active .service-toggle i {
    transform: rotate(180deg);
    color: #60a5fa;
}

/* Service Content */
body.services-page .service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s;
        opacity: 0;
    }

body.services-page .service-item.active .service-content {
    max-height: 2000px;
        opacity: 1;
}

body.services-page .service-description {
    padding: 0 1.5rem 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    margin-top: 0;
    padding-top: 1rem;
}

body.services-page .service-description p {
    color: rgba(203, 213, 225, 0.9);
    font-size: clamp(0.875rem, 1.8vw, 0.95rem);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

body.services-page .service-description p:last-child {
    margin-bottom: 0;
}

/* Feature Grid - Symmetrical */
body.services-page .service-features {
    padding: 1rem 1.5rem 1.5rem;
}

body.services-page .feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 640px) {
    body.services-page .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 900px) {
    body.services-page .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

body.services-page .feature-item {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 0.875rem;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

body.services-page .feature-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transition: left 0.5s;
}

body.services-page .feature-item:hover::before {
    left: 100%;
}

body.services-page .feature-item:hover {
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

body.services-page .feature-item i {
    font-size: 1.5rem;
    color: #60a5fa;
    margin-bottom: 0.75rem;
    display: block;
    transition: all 0.3s;
}

body.services-page .feature-item:hover i {
    color: #93c5fd;
    transform: scale(1.1);
}

body.services-page .feature-item h4 {
    color: rgba(226, 232, 240, 0.98);
    font-size: clamp(0.875rem, 1.8vw, 0.95rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

body.services-page .feature-item p {
    color: rgba(203, 213, 225, 0.85);
    font-size: clamp(0.75rem, 1.5vw, 0.8rem);
    line-height: 1.5;
    margin: 0;
}

/* Service Actions */
    body.services-page .service-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.5rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body.services-page .service-item.active .service-actions {
    max-height: 200px;
    opacity: 1;
    }

    body.services-page .service-actions .btn {
    flex: 1;
    min-width: 160px;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.625rem;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

body.services-page .service-actions .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
}

body.services-page .service-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
}

body.services-page .service-actions .btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(226, 232, 240, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

body.services-page .service-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(148, 163, 184, 0.4);
    transform: translateY(-1px);
}

/* =================================================================
   RESPONSIVE ADJUSTMENTS
   ================================================================= */

@media (max-width: 640px) {
    body.services-page .service-header {
        padding: 1rem 1.25rem;
        flex-wrap: wrap;
    }

    body.services-page .service-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.1rem;
    }

    body.services-page .service-toggle {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    body.services-page .service-description,
    body.services-page .service-features,
    body.services-page .service-actions {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    body.services-page .service-actions {
        flex-direction: column;
    }

    body.services-page .service-actions .btn {
        width: 100%;
        min-width: 100%;
    }

}

@media (max-width: 480px) {
    body.services-page .hero-card {
        padding: 1.5rem;
    }

    body.services-page .card-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    body.services-page .card-stats {
        gap: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.services-page .animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

body.services-page .animate-on-scroll.fade-in-up {
    animation-delay: 0.1s;
}
