/* =========================================================
   SIMORTEC SERVICES PAGE
   Organized and optimized without changing the visual output
========================================================= */


/* =========================================================
   1. HERO SVG
========================================================= */

/* SVG panels */
.simor-services-hero-svg .panel {
    fill: url(#panelFill);
    stroke: #37c1b1;
    stroke-width: 2.3;
}

.simor-services-hero-svg .panel-inner {
    fill: none;
    stroke: #38a8d6;
    stroke-width: 1.2;
    stroke-opacity: 0.22;
}

/* Shared SVG line properties */
.simor-services-hero-svg .accent-stroke,
.simor-services-hero-svg .thin-stroke,
.simor-services-hero-svg .connector {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Main accent lines */
.simor-services-hero-svg .accent-stroke {
    stroke: url(#accent);
    stroke-width: 4;
}

/* Thin decorative lines */
.simor-services-hero-svg .thin-stroke {
    stroke: #37c1b1;
    stroke-width: 2;
}

/* Muted decorative lines */
.simor-services-hero-svg .muted-stroke {
    fill: none;
    stroke: #38a8d6;
    stroke-width: 1.5;
    stroke-opacity: 0.42;
}

/* Animated connector lines */
.simor-services-hero-svg .connector {
    stroke: #37c1b1;
    stroke-width: 2;
    stroke-dasharray: 8 12;
    stroke-opacity: 0.72;
    animation: simor-services-dash 8s linear infinite;
}

/* SVG element animations */
.simor-services-hero-svg .float-a {
    animation: simor-services-float-a 6s ease-in-out infinite;
}

.simor-services-hero-svg .float-b {
    animation: simor-services-float-b 7s ease-in-out infinite;
}

.simor-services-hero-svg .pulse {
    transform-box: fill-box;
    transform-origin: center;
    animation: simor-services-pulse 2.4s ease-in-out infinite;
}

.simor-services-hero-svg .ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: simor-services-ring 3.2s ease-out infinite;
}

/* SVG keyframes */
@keyframes simor-services-dash {
    to {
        stroke-dashoffset: -80;
    }
}

@keyframes simor-services-float-a {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes simor-services-float-b {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(9px);
    }
}

@keyframes simor-services-pulse {
    0%,
    100% {
        opacity: 0.45;
        transform: scale(0.86);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes simor-services-ring {
    0% {
        opacity: 0.65;
        transform: scale(0.72);
    }

    100% {
        opacity: 0;
        transform: scale(1.28);
    }
}


/* =========================================================
   2. HERO CONTENT
========================================================= */

/* Hero eyebrow wrapper */
.simor-services-eyebrow {
    width: fit-content !important;
    align-self: flex-start !important;
}

/* Disable unused legacy lines on the eyebrow wrapper */
.simor-services-eyebrow::before,
.simor-services-eyebrow::after {
    content: none !important;
}

/* Hero eyebrow heading widget */
.simor-services-eyebrow-text {
    width: auto !important;
    max-width: none !important;
}

.simor-services-eyebrow-text .elementor-widget-container {
    width: auto;
}

/* Hero eyebrow text and decorative lines */
.simor-services-eyebrow-text .elementor-heading-title {
    position: relative;
    display: inline-block;
    width: max-content;
    padding-inline: 50px;
    white-space: nowrap;
    direction: ltr;
}

.simor-services-eyebrow-text .elementor-heading-title::before,
.simor-services-eyebrow-text .elementor-heading-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 34px;
    height: 1px;
    transform: translateY(-50%);
}

.simor-services-eyebrow-text .elementor-heading-title::before {
    left: 0;
    background: linear-gradient(
        90deg,
        rgba(55, 193, 177, 0.15) 0%,
        #37c1b1 100%
    );
}

.simor-services-eyebrow-text .elementor-heading-title::after {
    right: 0;
    background: linear-gradient(
        90deg,
        #37c1b1 0%,
        rgba(55, 193, 177, 0.15) 100%
    );
}

/* Hero title accent */
.simor-services-hero-title .simor-services-title-accent {
    display: inline-block;
    color: #37c1b1;
    background: linear-gradient(
        90deg,
        #67eee0 0%,
        #37c1b1 52%,
        #38a8d6 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(55, 193, 177, 0.16));
}

/* Remove the default paragraph margin */
.simor-services-hero-description p {
    margin: 0;
}

/* Hero button alignment and interaction */
.simor-services-hero-actions .elementor-button-content-wrapper {
    align-items: center;
}

.simor-services-hero-actions .elementor-button {
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.simor-services-hero-actions .elementor-button:hover {
    transform: translateY(-2px);
}


/* =========================================================
   3. HERO HIGHLIGHTS
========================================================= */

.simor-services-hero-highlights .elementor-icon-list-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 28px;
    row-gap: 12px;
}

.simor-services-hero-highlights .elementor-icon-list-item {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    direction: rtl;
    gap: 8px;
    margin: 0 !important;
}

.simor-services-hero-highlights .elementor-icon-list-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
}

.simor-services-hero-highlights .elementor-icon-list-text {
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
}


/* =========================================================
   4. SERVICES PROCESS
========================================================= */

/* Process wrapper */
.simor-services-process-steps {
    position: relative;
    isolation: isolate;
    overflow: visible;
    max-width: 100%;
}

/* Remove all unused connector lines and arrows */
.simor-services-process-steps::before,
.simor-services-process-steps::after,
.simor-services-process-step::before,
.simor-services-process-step::after {
    content: none !important;
    display: none !important;
}

/* Process card */
.simor-services-process-step {
    position: relative;
    z-index: 1;
    overflow: visible;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(55, 193, 177, 0.12) 0%,
            rgba(55, 193, 177, 0.035) 28%,
            transparent 55%
        ),
        rgba(9, 31, 47, 0.55);
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
    will-change: transform;
}

/* Floating process marker */
.simor-services-process-marker {
    position: relative;
    z-index: 6;
    background:
        radial-gradient(
            circle at center,
            rgba(55, 193, 177, 0.20) 0%,
            rgba(9, 31, 47, 0.98) 68%
        );
    box-shadow:
        0 0 8px rgba(55, 193, 177, 0.44),
        0 0 20px rgba(55, 193, 177, 0.18),
        inset 0 0 12px rgba(55, 193, 177, 0.08);
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
    will-change: transform;
}

/* Vertical light below each marker */
.simor-services-process-marker::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: -17px;
    width: 1px;
    height: 16px;
    transform: translateX(50%);
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(103, 238, 224, 0.82) 0%,
        rgba(55, 193, 177, 0.10) 100%
    );
    box-shadow: 0 0 5px rgba(55, 193, 177, 0.48);
}

/* Process card interaction */
.simor-services-process-step:hover,
.simor-services-process-step:focus-within,
.simor-services-process-step:active {
    border-color: rgba(55, 193, 177, 0.48);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.22),
        0 0 24px rgba(55, 193, 177, 0.09);
}

/* Process marker interaction */
.simor-services-process-step:hover .simor-services-process-marker,
.simor-services-process-step:focus-within .simor-services-process-marker,
.simor-services-process-step:active .simor-services-process-marker {
    border-color: rgba(103, 238, 224, 0.90);
    box-shadow:
        0 0 10px rgba(103, 238, 224, 0.68),
        0 0 24px rgba(55, 193, 177, 0.30),
        inset 0 0 14px rgba(55, 193, 177, 0.12);
}


/* =========================================================
   5. SERVICES FINAL CTA
========================================================= */

/* CTA panel */
.simor-services-cta-panel {
    position: relative;
    isolation: isolate;
}

/* CTA decorative glow */
.simor-services-cta-panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -160px;
    left: -110px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(55, 193, 177, 0.18) 0%,
        rgba(56, 168, 214, 0.08) 38%,
        transparent 70%
    );
    pointer-events: none;
}

/* CTA decorative bottom light */
.simor-services-cta-panel::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    width: 42%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(55, 193, 177, 0.65) 100%
    );
    box-shadow: 0 0 12px rgba(55, 193, 177, 0.35);
    pointer-events: none;
}

/* CTA eyebrow */
.simor-services-cta-eyebrow .elementor-heading-title {
    position: relative;
    display: inline-block;
    padding-right: 34px;
}

.simor-services-cta-eyebrow .elementor-heading-title::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 24px;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(
        90deg,
        rgba(55, 193, 177, 0.20) 0%,
        #37c1b1 100%
    );
    box-shadow: 0 0 6px rgba(55, 193, 177, 0.35);
}

/* CTA title accent */
.simor-services-cta-title .simor-services-cta-accent {
    display: inline-block;
    color: #37c1b1;
    background: linear-gradient(
        90deg,
        #67eee0 0%,
        #37c1b1 52%,
        #38a8d6 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(55, 193, 177, 0.16));
}

/* Remove the default paragraph margin */
.simor-services-cta-description p {
    margin: 0;
}

/* CTA button interaction */
.simor-services-cta-primary .elementor-button,
.simor-services-cta-secondary .elementor-button {
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.simor-services-cta-primary .elementor-button:hover,
.simor-services-cta-secondary .elementor-button:hover {
    transform: translateY(-2px);
}

.simor-services-cta-primary .elementor-button:hover {
    box-shadow: 0 10px 28px rgba(55, 193, 177, 0.22);
}


/* =========================================================
   6. RESPONSIVE STYLES
========================================================= */

/* Desktop */
@media (min-width: 1025px) {
    .simor-services-process-steps {
        padding-top: 54px !important;
    }

    .simor-services-process-marker {
        transform: translateY(-58px);
        margin-bottom: -42px !important;
    }

    .simor-services-process-step:hover,
    .simor-services-process-step:focus-within,
    .simor-services-process-step:active {
        transform: translateY(-5px);
    }

    .simor-services-process-step:hover .simor-services-process-marker,
    .simor-services-process-step:focus-within .simor-services-process-marker,
    .simor-services-process-step:active .simor-services-process-marker {
        transform: translateY(-58px) scale(1.06);
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .simor-services-process-steps {
        padding-top: 48px !important;
        row-gap: 62px !important;
    }

    .simor-services-process-marker {
        transform: translateY(-48px);
        margin-bottom: -34px !important;
    }

    .simor-services-process-marker::after {
        bottom: -15px;
        height: 14px;
    }

    .simor-services-process-step:hover,
    .simor-services-process-step:focus-within,
    .simor-services-process-step:active {
        transform: translateY(-4px);
    }

    .simor-services-process-step:hover .simor-services-process-marker,
    .simor-services-process-step:focus-within .simor-services-process-marker,
    .simor-services-process-step:active .simor-services-process-marker {
        transform: translateY(-48px) scale(1.05);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .simor-services-process-steps {
        padding-top: 42px !important;
        row-gap: 50px !important;
    }

    .simor-services-process-marker {
        transform: translateY(-52px);
        margin-bottom: -28px !important;
    }

    .simor-services-process-marker::after {
        bottom: -13px;
        height: 12px;
    }

    .simor-services-process-step:hover,
    .simor-services-process-step:focus-within,
    .simor-services-process-step:active {
        transform: translateY(-3px);
    }

    .simor-services-process-step:hover .simor-services-process-marker,
    .simor-services-process-step:focus-within .simor-services-process-marker,
    .simor-services-process-step:active .simor-services-process-marker {
        transform: translateY(-52px) scale(1.04);
    }

    /* Center the hero eyebrow on mobile */
    .simor-services-eyebrow {
        align-self: center !important;
        margin-inline: auto !important;
    }

    .simor-services-eyebrow-text {
        margin-inline: auto !important;
    }
}