@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* Custom styles that Tailwind can't fully express inline */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Stepper connector line */
.stepper::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(90deg, #5dcaa5, #fac775, #85b7eb);
    opacity: 0.5;
    z-index: 0;
}

/* Step circle ring on hover */
.step-circle-wrap::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed currentColor;
    opacity: 0;
    transition: opacity 0.25s;
}

.step-wrap:hover .step-circle-wrap::after {
    opacity: 0.4;
}

/* ===== SECTION WRAPPER ===== */
.services-section {
    padding: 96px 6%;
    background: #f8f9fb;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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



/* Carousel mask */
.carousel-wrap {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.carousel-wrap:hover .carousel-track {
    animation-play-state: paused;
}

.carousel-track {
    animation: scrollLeft 32s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* FAQ details marker */
.faq-q::-webkit-details-marker {
    display: none;
}

.faq-q::after {
    content: "+";
    color: #0f6e56;
    font-weight: 400;
    font-size: 1.4rem;
}

details[open] .faq-q::after {
    content: "−";
}

/* Gradient text */
.hl-pbi {
    background: linear-gradient(135deg, #ef9f27, #ba7517);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hl-fabric {
    background: linear-gradient(135deg, #1d9e75, #0f6e56);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hl-azure {
    background: linear-gradient(135deg, #378add, #185fa5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero visual glow */
.hero-visual::before {
    content: "";
    position: absolute;
    inset: -20px -30px -10px 30px;
    background: linear-gradient(135deg, rgba(29, 158, 117, 0.15), rgba(250, 199, 117, 0.1), rgba(133, 183, 235, 0.12));
    border-radius: 18px;
    z-index: -1;
    filter: blur(2px);
}

/* Highlight item hover */
.highlight-item:hover {
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
    transform: translateX(2px);
}

/* Case chart bars */
.case-bar:nth-child(3n + 1) {
    background: #1d9e75;
}

.case-bar:nth-child(3n + 2) {
    background: #378add;
}

.case-bar:nth-child(3n + 3) {
    background: #ef9f27;
}

/* Form status */
.form-status-success {
    display: block;
    background: #e8f5ee;
    color: #0f6e56;
    border: 1px solid #1d9e75;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
}

.form-status-error {
    display: block;
    background: #fcebeb;
    color: #e24b4a;
    border: 1px solid #e24b4a;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* CTA radial glow */
.cta-glow::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 158, 117, 0.18), transparent 70%);
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

/* Hero radial */
.hero-bg {
    background: radial-gradient(ellipse 800px 500px at 90% 10%, rgba(29, 158, 117, 0.07), transparent 60%), radial-gradient(ellipse 600px 400px at 10% 90%, rgba(55, 138, 221, 0.05), transparent 60%), #fafbfc;
}

/* Nav CTA */
.nav-cta {
    background: #0a2540 !important;
    color: white !important;
}

.nav-cta:hover {
    background: #0f6e56 !important;
    transform: translateY(-1px);
}

/* Step circle dot on hover */
.step-wrap:hover .step-circle-1 {
    background: #1d9e75;
    color: white;
    transform: scale(1.05);
}

.step-wrap:hover .step-circle-2 {
    background: #ef9f27;
    color: white;
    transform: scale(1.05);
}

.step-wrap:hover .step-circle-3 {
    background: #378add;
    color: white;
    transform: scale(1.05);
}

/* Case visual dot */
.case-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1d9e75;
    box-shadow: 0 0 8px #1d9e75;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.55rem;
    background: var(--surface); border: 1px solid var(--fabric-100); border-radius: 100px;
    padding: 0.45rem 1.1rem; font-size: 0.78rem; color: var(--text);
    letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
    margin-bottom: 1.75rem; box-shadow: var(--shadow-sm);
  }

hero-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--fabric-500);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(29, 158, 117, 0.6);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 0 6px rgba(29, 158, 117, 0);
    }
}

.dash-dots { display: flex; gap: 5px; }
  .dash-dot { width: 8px; height: 8px; border-radius: 50%; background: #D4DAE5; }

.dash-dot.live {
    background: #1D9E75;
    box-shadow: 0 0 8px #1D9E75;
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Donut gradient stroke */
.donut-gradient-stroke {
    stroke: url(#donutGradStroke);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 0 188.5;
    animation: donutFill 1.4s ease-out 0.4s forwards;
}

/* Logo pulse icon */
.location-wrapper {
    position: relative;
    width: 18px;
    height: 25px;
    flex-shrink: 0;
}

.pulse-ring {
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 14px;
    height: 5px;
    border-radius: 50%;
    border: 1.5px solid #0FAFA9;
    opacity: 0;
    transform: translateX(-50%);
    animation: pulse 2s ease-out infinite;
}

.pulse-ring.r2 {
    animation-delay: 0.6s;
}

.pulse-ring.r3 {
    animation-delay: 1.2s;
}

@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(0.5);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) scale(2.5);
        opacity: 0;
    }
}

.pin {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: bob 2s ease-in-out infinite;
}

@keyframes bob {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-3px);
    }
}