/* Theme 1: Tech Minimalist (التقنية البسيط) - Built on Bootstrap 5 RTL */

:root {
    /* Color Palette */
    --color-primary: #03A9F2;
    --color-primary-hover: #01A4B1;
    --color-primary-light: rgba(3, 169, 242, 0.05);
    --color-on-primary: #ffffff;
    --bg-body: #fafbfc;
    --bg-header: rgba(250, 251, 252, 0.85);
    --bg-card: #ffffff;
    --bg-footer: #f8fafc;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --border-color-light: #e2e8f0;
    --border-card: #e2e8f0;

    /* Shapes & Borders */
    --border-radius-card: 8px;
    --border-radius-btn: 6px;

    /* Fonts */
    --font-primary: 'Outfit', 'Cairo', sans-serif;
}

/* Base Body Styles */
body {
    font-family: var(--font-primary);
    background-color: var(--bg-body);
    color: var(--color-text);
    overflow-x: hidden;
}

/* Hero Section Padding Offset for Fixed Navbar */
.hero-section {
    padding-top: 110px !important;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 95px !important;
    }
}

/* Header & Navbar Floating Island Design */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    background-color: rgba(250, 251, 252, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
}

header.scrolled {
    top: 10px;
    width: calc(100% - 20px);
    background-color: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(3, 169, 242, 0.15) !important;
    box-shadow: 0 15px 35px rgba(3, 169, 242, 0.06);
}

.navbar {
    padding: 0.35rem 1.25rem !important;
    transition: all 0.3s ease;
}

header.scrolled .navbar {
    padding: 0.15rem 1.25rem !important;
}

.navbar-brand img {
    height: 36px;
    transition: all 0.3s ease;
}

header.scrolled .navbar-brand img {
    height: 30px;
}

.nav-link {
    position: relative;
    color: var(--color-text-muted) !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.5rem 1.2rem !important;
    transition: all 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 15px;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary) !important;
}

/* Mobile responsive adjustments for Floating Island */
@media (max-width: 991.98px) {
    header {
        border-radius: 20px;
        width: calc(100% - 24px);
        top: 15px;
    }

    header.scrolled {
        top: 8px;
        width: calc(100% - 16px);
        border-radius: 16px;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 12px;
        margin-top: 8px;
        padding: 1rem 1.5rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(3, 169, 242, 0.08);
    }

    .nav-link::after {
        display: none;
        /* remove hover line underline on mobile */
    }
}

/* Custom Buttons Overrides */
.btn-primary {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
    border-radius: var(--border-radius-btn) !important;
    padding: 0.65rem 1.75rem !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover) !important;
    border-color: var(--color-primary-hover) !important;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent !important;
    border-color: var(--border-color-light) !important;
    color: var(--color-text) !important;
    border-radius: var(--border-radius-btn) !important;
    padding: 0.65rem 1.75rem !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background-color: var(--border-color-light) !important;
    border-color: var(--border-color-light) !important;
    color: var(--color-text) !important;
    transform: translateY(-2px);
}

/* Subtle dot background for hero */
.hero-section {
    background-image: radial-gradient(#e2e8f0 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    position: relative;
    border-bottom: 1px solid var(--border-color-light);
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

/* Floating Particle System */
.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(3, 169, 242, 0.08);
    border-radius: 50%;
    animation: float-particles 12s infinite linear;
    bottom: -20px;
}

@keyframes float-particles {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-400px) translateX(80px) scale(0.5);
        opacity: 0;
    }
}

/* Typing Terminal Mockup styling */
.typing-line {
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    border-left: 2px solid var(--color-primary);
    display: inline-block;
    max-width: fit-content;
    animation: typing 3s steps(30, end) infinite alternate, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--color-primary);
    }
}

/* Minimalist Card Service Style with Hover Border Glow */
.card-service {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-card);
    padding: 2.25rem 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

/* Subtle light grid on hover */
.card-service::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(3, 169, 242, 0.04) 1px, transparent 1px);
    background-size: 16px 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.card-service:hover::after {
    opacity: 1;
}

.card-service:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(3, 169, 242, 0.08);
    border-color: rgba(3, 169, 242, 0.2);
}

.service-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(3, 169, 242, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.card-service:hover .service-icon-box {
    background: var(--color-primary);
    transform: scale(1.05);
}

.card-service:hover .service-icon-box svg {
    stroke: #ffffff !important;
}

.card-service:hover .service-icon-box i {
    color: #ffffff !important;
}

.card-service .service-badge {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(3, 169, 242, 0.08);
    padding: 3px 10px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.service-footer svg {
    transition: transform 0.3s ease;
}

.card-service:hover .service-footer svg {
    transform: translateX(-4px);
}

/* Custom tags/labels */
.badge-tech {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(3, 169, 242, 0.15);
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Partners Marquee Slider */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
    direction: ltr;
    /* Control scroll math consistently */
}

.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #fbfbfd 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #fbfbfd 0%, transparent 100%);
}

.marquee-content {
    display: inline-flex;
    gap: 2.5rem;
    animation: marquee 25s linear infinite;
}

.marquee-content .partner-logo {
    flex-shrink: 0;
    width: 200px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid var(--border-color-light);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    cursor: default;
}

.marquee-content .partner-logo svg {
    height: 22px;
    width: 22px;
    filter: grayscale(1);
    opacity: 0.45;
    transition: all 0.3s ease;
}

.marquee-content .partner-logo span {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.marquee-content .partner-logo:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(3, 169, 242, 0.08);
}

.marquee-content .partner-logo:hover svg {
    filter: grayscale(0);
    opacity: 1;
}

.marquee-content .partner-logo:hover span {
    color: var(--color-primary);
}

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

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

/* Testimonials Section matching masonry design */
.testimonials-section {
    position: relative;
    overflow: hidden;
    background-color: #f8fafc !important;
    color: #1e293b;
    border-top: 1px solid var(--border-color-light);
    border-bottom: 1px solid var(--border-color-light);
    z-index: 1;
    padding: 6rem 0;
}

.testimonials-section h2 {
    color: #0f172a !important;
}

.testimonials-section p.text-muted {
    color: #64748b !important;
}

.testimonials-section .card {
    background: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    color: #334155 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    z-index: 2;
}

/* Hover: lift up */
.testimonials-section .card:hover {
    background: #ffffff !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(3, 169, 242, 0.08) !important;
}

.testimonials-section .card p {
    color: #64748b !important;
}

.testimonials-section .card h5 {
    color: #0f172a !important;
}

/* Testimonials Grid Wrapper & Fade-Out Overlay */
.testimonials-grid-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonials-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to top, #f8fafc 15%, rgba(248, 250, 252, 0) 100%);
    pointer-events: none;
    z-index: 5;
}

@media (min-width: 992px) {
    .testimonials-grid-wrapper {
        max-height: 650px;
    }
}

@media (max-width: 991.98px) {
    .testimonials-grid-wrapper {
        max-height: 1000px;
    }

    .testimonials-fade-overlay {
        height: 150px;
    }
}

/* Testimonials Mouse Follow Glow Tracker */
.testimonials-mouse-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(3, 169, 242, 0.18) 0%, rgba(3, 169, 242, 0.05) 45%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 0.4s ease;
}

/* Call to Action Section with clean white background and large faded brand logo */
.cta-section {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color-light);
    z-index: 1;
    padding: 6rem 0;
}

.cta-bg-logo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../../logoSarh.svg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 550px;
    opacity: 0.12;
    /* Faded brand logo on white */
    pointer-events: none;
    z-index: -1;

    /* Fade transparency from top (100% opacity) to bottom (0% opacity) */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

/* Site Footer */
.site-footer {
    background-color: var(--bg-footer);
    border-top: 1px solid var(--border-color-light);
    padding: 4rem 0 2rem 0;
    font-size: 0.9rem;
}

.site-footer a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.site-footer a:hover {
    color: var(--color-primary);
}

/* Accordion Custom Styling Overrides */
.accordion-button:not(.collapsed) {
    background-color: var(--color-primary-light) !important;
    color: var(--color-primary) !important;
    box-shadow: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
    border-color: var(--border-color-light) !important;
}

.accordion-button::after {
    filter: grayscale(1) brightness(0.5);
}

.accordion-button:not(.collapsed)::after {
    filter: none;
}

/* Center Logo in Services Section */
.services-center-logo-box {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid var(--border-color-light);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    z-index: 3;
    transition: all 0.5s ease;
}

.services-center-logo-box::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px dashed rgba(3, 169, 242, 0.25);
    border-radius: 50%;
    animation: rotate-dash 35s linear infinite;
}

@keyframes rotate-dash {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.center-logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: all 0.5s ease;
}

.services-center-logo-box:hover {
    border-color: var(--color-primary);
    box-shadow: 0 15px 40px rgba(3, 169, 242, 0.12);
}

.services-center-logo-box:hover .center-logo-img {
    transform: scale(1.08);
}

.logo-glow-bg {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(3, 169, 242, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Service Connecting Lines - Orthogonal L-shape */
.service-line {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 0.7;
}

/* Quadrants positioning and rounded borders (separated to emerge from circle edges) */
.line-to-top-right {
    bottom: 50%;
    left: 68%;
    /* moved 18% right of center */
    border-top: 1px dashed rgba(3, 169, 242, 0.45);
    border-left: 1px dashed rgba(3, 169, 242, 0.45);
    border-top-left-radius: 20px;
}

.line-to-top-left {
    bottom: 50%;
    right: 68%;
    /* moved 18% left of center */
    border-top: 1px dashed rgba(3, 169, 242, 0.45);
    border-right: 1px dashed rgba(3, 169, 242, 0.45);
    border-top-right-radius: 20px;
}

.line-to-bottom-right {
    top: 50%;
    left: 68%;
    /* moved 18% right of center */
    border-bottom: 1px dashed rgba(3, 169, 242, 0.45);
    border-left: 1px dashed rgba(3, 169, 242, 0.45);
    border-bottom-left-radius: 20px;
}

.line-to-bottom-left {
    top: 50%;
    right: 68%;
    /* moved 18% left of center */
    border-bottom: 1px dashed rgba(3, 169, 242, 0.45);
    border-right: 1px dashed rgba(3, 169, 242, 0.45);
    border-bottom-right-radius: 20px;
}

/* Sizing coordinates for different viewport widths (adjusted width to account for offset) */
@media (min-width: 992px) and (max-width: 1199.98px) {

    .line-to-top-right,
    .line-to-bottom-right,
    .line-to-top-left,
    .line-to-bottom-left {
        width: 95px;
        height: 165px;
    }
}

@media (min-width: 1200px) {

    .line-to-top-right,
    .line-to-bottom-right,
    .line-to-top-left,
    .line-to-bottom-left {
        width: 145px;
        height: 175px;
    }
}

/* Glow Traveling Dot along the L-shape borders */
.service-line::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary), 0 0 20px var(--color-primary);
    z-index: 5;
    margin: -3px;
    /* centers the dot on the 1px dashed border line */
}

/* Quadrant-specific keyframe animations */
.line-to-top-right::after {
    bottom: 0;
    left: 0;
    animation: travel-top-right 4s infinite linear;
    animation-delay: 0s;
}

.line-to-bottom-right::after {
    top: 0;
    left: 0;
    animation: travel-bottom-right 4s infinite linear;
    animation-delay: 1s;
}

.line-to-top-left::after {
    bottom: 0;
    right: 0;
    animation: travel-top-left 4s infinite linear;
    animation-delay: 2s;
}

.line-to-bottom-left::after {
    top: 0;
    right: 0;
    animation: travel-bottom-left 4s infinite linear;
    animation-delay: 3s;
}

/* Keyframes for orthogonal travel paths */
@keyframes travel-top-right {
    0% {
        bottom: 0;
        left: 0;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    45% {
        bottom: 100%;
        left: 0;
    }

    95% {
        opacity: 1;
    }

    100% {
        bottom: 100%;
        left: 100%;
        opacity: 0;
    }
}

@keyframes travel-top-left {
    0% {
        bottom: 0;
        right: 0;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    45% {
        bottom: 100%;
        right: 0;
    }

    95% {
        opacity: 1;
    }

    100% {
        bottom: 100%;
        right: 100%;
        opacity: 0;
    }
}

@keyframes travel-bottom-right {
    0% {
        top: 0;
        left: 0;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    45% {
        top: 100%;
        left: 0;
    }

    95% {
        opacity: 1;
    }

    100% {
        top: 100%;
        left: 100%;
        opacity: 0;
    }
}

@keyframes travel-bottom-left {
    0% {
        top: 0;
        right: 0;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    45% {
        top: 100%;
        right: 0;
    }

    95% {
        opacity: 1;
    }

    100% {
        top: 100%;
        right: 100%;
        opacity: 0;
    }
}

/* Hover effect to highlight connecting circuit on hover */
.services-center-logo-box:hover .service-line {
    border-color: var(--color-primary);
    opacity: 1;
}

/* Horizontal Process Flowchart */
.process-flow-container {
    position: relative;
    padding: 2rem 0;
}

/* Horizontal flow line for desktop */
.process-flow-line {
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to left,
            rgba(3, 169, 242, 0.2) 0%,
            rgba(3, 169, 242, 0.7) 50%,
            rgba(3, 169, 242, 0.2) 100%);
    z-index: 1;
}

.process-flow-step {
    position: relative;
    z-index: 2;
}

.process-flow-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-card);
    padding: 1.75rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.process-flow-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(3, 169, 242, 0.06);
    transform: translateY(-5px);
}

.process-flow-step .step-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    border: 2px solid var(--border-color-light);
    color: var(--color-text-muted);
    font-weight: 800;
    border-radius: 50%;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.process-flow-card:hover .step-num-badge {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(3, 169, 242, 0.15);
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
    .process-flow-card {
        text-align: right;
        padding-right: 4.5rem;
        position: relative;
    }

    .process-flow-step .step-num-badge {
        position: absolute;
        top: 24px;
        right: 1.5rem;
        margin-bottom: 0;
    }
}

/* Interactive API Code Switcher Tabs */
.code-tabs {
    border: 1px solid var(--border-color-light);
    background-color: #f8fafc;
    padding: 2px;
    border-radius: 6px;
    display: flex;
    gap: 2px;
}

.code-tab-btn {
    background: transparent;
    border: none;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-muted);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.code-tab-btn:hover {
    color: var(--color-primary);
}

.code-tab-btn.active {
    background-color: #ffffff;
    color: var(--color-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Option 1: Animated Count-Up Dark Counter */
.option-stats-dark {
    position: relative;
    overflow: hidden;
}

.option-stats-dark .glow-sphere-1 {
    position: absolute;
    top: -30%;
    left: 15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(3, 169, 242, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.option-stats-dark .glow-sphere-2 {
    position: absolute;
    bottom: -30%;
    right: 15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(3, 169, 242, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.stat-dark-item {
    padding: 1.5rem 1rem;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.stat-dark-item:hover {
    background: linear-gradient(135deg, rgba(3, 169, 242, 0.06) 0%, rgba(11, 15, 25, 0.4) 100%);
    border-color: rgba(3, 169, 242, 0.18);
    box-shadow: 0 15px 35px -10px rgba(3, 169, 242, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transform: translateY(-6px);
}

.stat-dark-item .stat-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(3, 169, 242, 0.08);
    border: 1px solid rgba(3, 169, 242, 0.15);
    transition: all 0.3s ease;
}

.stat-dark-item:hover .stat-icon-wrapper {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.stat-dark-item:hover .stat-icon {
    stroke: #ffffff !important;
    color: #ffffff !important;
}

.neon-stat-number {
    font-size: 2.25rem;
    color: #38bdf8;
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
    transition: all 0.3s ease;
    direction: ltr;
    display: block;
}

.stat-dark-item:hover .neon-stat-number {
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
    transform: scale(1.03);
}

.text-muted-light {
    color: #94a3b8;
    font-size: 0.82rem;
}

.stat-dark-col:not(:last-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 767.98px) {
    .stat-dark-col {
        border-left: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding-bottom: 1rem;
    }

    .stat-dark-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Mouse Follow Glow Tracker */
.stats-mouse-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(3, 169, 242, 0.25) 0%, rgba(3, 169, 242, 0.08) 45%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 0.4s ease;
    mix-blend-mode: screen;
}

/* ==========================================
   Centered SaaS Hero Section Styles
   ========================================== */

/* Hero Grid Lines */
.hero-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 0;
    padding: 0 10%;
}

.hero-grid-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.005) 100%);
}

.hero-top-particle-glow {
    position: absolute;
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 200px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, rgba(3, 169, 242, 0.02) 50%, transparent 80%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}
/* Central Content Entrance Animations */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-tech-finance {
    display: inline-block;
    background-color: #f1f8e9;
    color: #33691e;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(51, 105, 30, 0.08);
    opacity: 0;
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.15s;
}

.hero-section h1 {
    opacity: 0;
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

.hero-section p.lead {
    opacity: 0;
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.45s;
}

.hero-section .d-flex.gap-3.justify-content-center.mb-5 {
    opacity: 0;
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
}

.gradient-text-hero {
    background: linear-gradient(135deg, #03a9f2 20%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-hero-primary {
    background: #7c3aed !important;
    border-color: #7c3aed !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-hero-primary:hover {
    background: #6d28d9 !important;
    border-color: #6d28d9 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px -5px rgba(124, 58, 237, 0.45) !important;
}

.btn-hero-secondary {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-hero-secondary:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
    transform: translateY(-3px) !important;
}

/* Overlapping Avatars */
.hero-social-proof {
    margin-top: 2rem;
    opacity: 0;
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.75s;
}

.overlapping-avatars {
    display: flex;
    direction: ltr;
}

.avatar-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #cfd8dc;
    border: 2px solid #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    color: #37474f;
    margin-right: -8px;
}

.avatar-circle-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #d4edda;
    border: 2px solid #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    color: #155724;
    margin-right: -8px;
}

.social-proof-text {
    text-align: right;
    margin-right: 12px;
}

/* Floating Cards styling with entrance & bobbing animations */
@keyframes heroCardEntrance {
    from {
        opacity: 0;
        transform: rotate(var(--card-rotation)) scale(0.75) translateY(45px);
    }
    to {
        opacity: 1;
        transform: rotate(var(--card-rotation)) scale(1) translateY(0);
    }
}

@keyframes cardBobbing {
    from {
        transform: rotate(var(--card-rotation)) translateY(0);
    }
    to {
        transform: rotate(var(--card-rotation)) translateY(-12px);
    }
}

.hero-floating-card {
    position: absolute;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 5;
    cursor: pointer;
    text-align: right;
    opacity: 0;
    animation: heroCardEntrance 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
               cardBobbing 6s ease-in-out infinite alternate;
}

/* Card Placements, Tilts & Staggered animation timings */
.card-sales-total {
    --card-rotation: 5deg;
    top: 50px;
    left: 20px;
    width: 220px;
    transform: rotate(var(--card-rotation));
    animation-duration: 1s, 5.5s;
    animation-delay: 0.2s, 1.2s;
}

.card-msgcloud-api {
    --card-rotation: -8deg;
    top: 250px;
    left: -10px;
    width: 230px;
    transform: rotate(var(--card-rotation));
    animation-duration: 1s, 7.5s;
    animation-delay: 0.6s, 1.6s;
}

.card-erp-billing {
    --card-rotation: -6deg;
    top: 50px;
    right: 20px;
    width: 230px;
    transform: rotate(var(--card-rotation));
    animation-duration: 1s, 6.2s;
    animation-delay: 0.4s, 1.4s;
}

.card-wave-chart {
    --card-rotation: 7deg;
    top: 280px;
    right: -10px;
    width: 220px;
    transform: rotate(var(--card-rotation));
    animation-duration: 1s, 6.8s;
    animation-delay: 0.8s, 1.8s;
}

/* Card Hover effect - Pauses animations and scales up */
.hero-floating-card:hover {
    transform: rotate(0deg) scale(1.06) translateY(-8px) !important;
    box-shadow: 0 30px 60px -15px rgba(3, 169, 242, 0.2) !important;
    z-index: 10 !important;
    animation-play-state: paused, paused;
}

/* Inner card subcomponents */
.card-title-sm {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.badge-growth {
    font-size: 0.7rem;
    font-weight: 700;
    background: #dcfce7;
    color: #15803d;
    padding: 2px 8px;
    border-radius: 50px;
}

.card-value-sm {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 4px;
}

.mini-bar-chart {
    height: 60px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, rgba(124, 58, 237, 0.2) 0%, #7c3aed 100%);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    background: #03a9f2;
}

.text-muted-xs {
    font-size: 0.65rem;
    color: #94a3b8;
}

/* Mini Wave components */
.server-status-tag {
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(3, 169, 242, 0.1);
    color: #03a9f2;
    padding: 2px 8px;
    border-radius: 50px;
}

.pulse-dot-green {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0px rgba(34, 197, 94, 0.4);
    }

    100% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
}

/* MsgCloud Logo & Logs */
.msgcloud-logo-icon {
    width: 22px;
    height: 22px;
    background: rgba(3, 169, 242, 0.1);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.msgcloud-logo-icon::before {
    content: "💬";
    font-size: 0.75rem;
}

.api-logs-wrapper {
    background: #fafbfc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 12px;
}

.api-log-item {
    padding: 4px 0;
}

/* 24/7 Support Banner Section Styles */
.support-card-banner {
    background: linear-gradient(135deg, #eef2ff 0%, #e0f7fa 100%) !important;
    border-radius: 32px !important;
    padding: 3.5rem 3rem !important;
    box-shadow: 0 10px 40px rgba(3, 169, 242, 0.05) !important;
    overflow: hidden;
}

.support-gradient-title {
    background: linear-gradient(135deg, #f97316 0%, #a855f7 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.support-stat-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 1.5rem 1.25rem;
    min-width: 130px;
    flex: 1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
}

.support-stat-item:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(3, 169, 242, 0.06);
}

.support-stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.support-avatar-group {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
}

.avatar-stacked {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-left: -10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.avatar-stacked:first-child {
    margin-left: 0;
}

.text-muted-light {
    color: #64748b !important;
}

/* Responsiveness for Support Section */
@media (max-width: 991.98px) {
    .support-card-banner {
        padding: 2.5rem 1.5rem !important;
        border-radius: 24px !important;
    }

    .support-stat-item {
        min-width: 140px;
        padding: 1.25rem 1rem;
    }
}

/* Supported Technologies Grid & Glow Styles */
#tech-section {
    position: relative;
    background-image: radial-gradient(var(--border-color-light) 1px, transparent 1px);
    background-size: 24px 24px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
    border: 1px solid rgba(3, 169, 242, 0.09);
    background: transparent;
    backdrop-filter: none;
    border-radius: 20px;
    padding: 0;
    position: relative;
    width: 100%;
    max-width: 620px;
    box-shadow: none;
    overflow: hidden;
}

.tech-grid-cell {
    aspect-ratio: 1;
    border-right: 1px solid rgba(3, 169, 242, 0.09);
    border-bottom: 1px solid rgba(3, 169, 242, 0.09);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tech-grid-cell:hover {
    background: radial-gradient(circle, rgba(3, 169, 242, 0.12) 0%, transparent 75%);
}

/* Remove outer double borders to keep corners clean */
.tech-grid-cell:nth-child(5n) {
    border-right: none;
}

.tech-grid-cell:nth-child(n+11) {
    border-bottom: none;
}

/* Decorative grid dots representing wireframe corners - hidden as requested */
.grid-dot {
    display: none;
}

.tech-logo-container {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    z-index: 5;
}

.tech-logo-container svg {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    display: block;
    transition: transform 0.3s ease;
}

.tech-logo-container:hover {
    transform: translateY(-5px) scale(1.08);
    z-index: 10;
}

.tech-logo-container:hover svg {
    transform: scale(1.15);
}

/* Compensate for internal padding of specific technology SVGs */
.tech-logo-container.ruby-glow svg,
.tech-logo-container.python-glow svg,
.tech-logo-container.flutter-glow svg,
.tech-logo-container.nodejs-glow svg,
.tech-logo-container.laravel-glow svg {
    transform: scale(1.4) !important;
}

.tech-logo-container.ruby-glow:hover svg,
.tech-logo-container.python-glow:hover svg,
.tech-logo-container.flutter-glow:hover svg,
.tech-logo-container.nodejs-glow:hover svg,
.tech-logo-container.laravel-glow:hover svg {
    transform: scale(1.6) !important;
}

/* Specific glows for each tech */
.android-glow:hover {
    box-shadow: 0 0 25px rgba(61, 220, 132, 0.35);
    border-color: rgba(61, 220, 132, 0.5);
    background-color: rgba(61, 220, 132, 0.02);
}

.asp-glow:hover {
    box-shadow: 0 0 25px rgba(92, 45, 145, 0.35);
    border-color: rgba(92, 45, 145, 0.5);
    background-color: rgba(92, 45, 145, 0.02);
}

.dotnet-glow:hover {
    box-shadow: 0 0 25px rgba(81, 43, 212, 0.35);
    border-color: rgba(81, 43, 212, 0.5);
    background-color: rgba(81, 43, 212, 0.02);
}

.flutter-glow:hover {
    box-shadow: 0 0 25px rgba(2, 91, 245, 0.35);
    border-color: rgba(2, 91, 245, 0.5);
    background-color: rgba(2, 91, 245, 0.02);
}

.ruby-glow:hover {
    box-shadow: 0 0 25px rgba(204, 52, 45, 0.35);
    border-color: rgba(204, 52, 45, 0.5);
    background-color: rgba(204, 52, 45, 0.02);
}

.php-glow:hover {
    box-shadow: 0 0 25px rgba(119, 123, 180, 0.3);
    border-color: rgba(119, 123, 180, 0.5);
    background-color: rgba(119, 123, 180, 0.02);
}

.python-glow:hover {
    box-shadow: 0 0 25px rgba(55, 118, 171, 0.3);
    border-color: rgba(55, 118, 171, 0.5);
    background-color: rgba(55, 118, 171, 0.02);
}

.js-glow:hover {
    box-shadow: 0 0 25px rgba(247, 223, 30, 0.3);
    border-color: rgba(247, 223, 30, 0.5);
    background-color: rgba(247, 223, 30, 0.02);
}

.golang-glow:hover {
    box-shadow: 0 0 25px rgba(0, 173, 216, 0.3);
    border-color: rgba(0, 173, 216, 0.5);
    background-color: rgba(0, 173, 216, 0.02);
}

.html-glow:hover {
    box-shadow: 0 0 25px rgba(227, 79, 38, 0.3);
    border-color: rgba(227, 79, 38, 0.5);
    background-color: rgba(227, 79, 38, 0.02);
}

.laravel-glow:hover {
    box-shadow: 0 0 25px rgba(255, 45, 32, 0.3);
    border-color: rgba(255, 45, 32, 0.5);
    background-color: rgba(255, 45, 32, 0.02);
}

.nodejs-glow:hover {
    box-shadow: 0 0 25px rgba(51, 153, 51, 0.3);
    border-color: rgba(51, 153, 51, 0.5);
    background-color: rgba(51, 153, 51, 0.02);
}

.react-glow:hover {
    box-shadow: 0 0 25px rgba(97, 218, 251, 0.35);
    border-color: rgba(97, 218, 251, 0.5);
    background-color: rgba(97, 218, 251, 0.02);
}

.docker-glow:hover {
    box-shadow: 0 0 25px rgba(36, 150, 237, 0.3);
    border-color: rgba(36, 150, 237, 0.5);
    background-color: rgba(36, 150, 237, 0.02);
}

.vuejs-glow:hover {
    box-shadow: 0 0 25px rgba(65, 184, 131, 0.3);
    border-color: rgba(65, 184, 131, 0.5);
    background-color: rgba(65, 184, 131, 0.02);
}

.mysql-glow:hover {
    box-shadow: 0 0 25px rgba(68, 121, 161, 0.3);
    border-color: rgba(68, 121, 161, 0.5);
    background-color: rgba(68, 121, 161, 0.02);
}

/* Mobile responsive tech logo badges */
.tech-logo-mobile span.badge {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.55rem 1.1rem !important;
    border-radius: 30px;
    background-color: #f8fafc !important;
    border: 1px solid var(--border-color-light);
    color: var(--color-text) !important;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.tech-logo-mobile span.badge:hover {
    background-color: var(--color-primary-light) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 169, 242, 0.1);
}

/* Custom spacing utility if missing */
.py-2-5 {
    padding-top: 0.625rem !important;
    padding-bottom: 0.625rem !important;
}

/* Interactive 3D Sphere/Circle in the Center */
.tech-sphere-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}

.tech-3d-sphere {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.25s cubic-bezier(0.1, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background soft glassmorphism & shadow */
.sphere-bg-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.98) 0%, rgba(3, 169, 242, 0.03) 50%, rgba(3, 169, 242, 0.08) 100%);
    border: 2px solid rgba(3, 169, 242, 0.1);
    box-shadow: 0 15px 45px rgba(3, 169, 242, 0.05), inset 0 0 30px rgba(3, 169, 242, 0.03);
    transform: translateZ(-20px);
}

/* Rotating rings inside the sphere */
.sphere-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.outer-ring {
    width: 115%;
    height: 115%;
    border: 1px dashed rgba(3, 169, 242, 0.12);
    animation: spin-outer 25s linear infinite;
}

.middle-ring {
    width: 90%;
    height: 90%;
    border: 1px solid rgba(1, 164, 177, 0.18);
    border-left-color: transparent;
    border-right-color: transparent;
    animation: spin-middle 15s linear infinite;
}

.inner-ring {
    width: 65%;
    height: 65%;
    border: 1px dotted rgba(3, 169, 242, 0.3);
    animation: spin-inner 10s linear infinite;
}

/* Core in the very center */
.sphere-core {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(3, 169, 242, 0.3) 0%, rgba(1, 164, 177, 0.2) 100%);
    box-shadow: 0 0 20px rgba(3, 169, 242, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(30px);
    transition: all 0.3s ease;
}

.sphere-core svg {
    color: rgba(3, 169, 242, 0.6) !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

@keyframes spin-outer {
    from {
        transform: translateZ(-10px) rotate(0deg);
    }

    to {
        transform: translateZ(-10px) rotate(360deg);
    }
}

@keyframes spin-middle {
    from {
        transform: translateZ(10px) rotate(360deg);
    }

    to {
        transform: translateZ(10px) rotate(0deg);
    }
}

@keyframes spin-inner {
    from {
        transform: translateZ(20px) rotate(0deg);
    }

    to {
        transform: translateZ(20px) rotate(360deg);
    }
}

/* Floating dispersion squares coming out of the center orb */
.floating-square {
    position: absolute;
    border: 1px dashed rgba(3, 169, 242, 0.15);
    background: rgba(255, 255, 255, 0.01);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.floating-square::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 50%;
    top: -2.5px;
    left: -2.5px;
    opacity: 0.4;
}

.floating-square::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 50%;
    bottom: -2.5px;
    right: -2.5px;
    opacity: 0.4;
}

.floating-square.sq-1 { left: -70px; width: 32px; height: 32px; animation: float-sq-1 8s ease-in-out infinite; }
.floating-square.sq-2 { left: -120px; width: 24px; height: 24px; animation: float-sq-2 7s ease-in-out infinite; }
.floating-square.sq-3 { left: -50px; width: 40px; height: 40px; animation: float-sq-3 9s ease-in-out infinite; }
.floating-square.sq-4 { left: -160px; width: 20px; height: 20px; animation: float-sq-4 6s ease-in-out infinite; }
.floating-square.sq-5 { right: -70px; width: 36px; height: 36px; animation: float-sq-5 8.5s ease-in-out infinite; }
.floating-square.sq-6 { right: -130px; width: 28px; height: 28px; animation: float-sq-6 7.5s ease-in-out infinite; }
.floating-square.sq-7 { right: -60px; width: 44px; height: 44px; animation: float-sq-7 9.5s ease-in-out infinite; }
.floating-square.sq-8 { right: -150px; width: 22px; height: 22px; animation: float-sq-8 6.5s ease-in-out infinite; }

@keyframes float-sq-1 {
    0%, 100% { top: 60px; transform: rotate(15deg) translateZ(-15px); }
    50% { top: 52px; transform: rotate(20deg) translateZ(-15px); }
}
@keyframes float-sq-2 {
    0%, 100% { top: 180px; transform: rotate(-10deg) translateZ(15px); }
    50% { top: 172px; transform: rotate(-5deg) translateZ(15px); }
}
@keyframes float-sq-3 {
    0%, 100% { top: 270px; transform: rotate(25deg) translateZ(-30px); }
    50% { top: 262px; transform: rotate(30deg) translateZ(-30px); }
}
@keyframes float-sq-4 {
    0%, 100% { top: 100px; transform: rotate(45deg) translateZ(30px); }
    50% { top: 92px; transform: rotate(50deg) translateZ(30px); }
}
@keyframes float-sq-5 {
    0%, 100% { top: 80px; transform: rotate(-20deg) translateZ(-15px); }
    50% { top: 72px; transform: rotate(-15deg) translateZ(-15px); }
}
@keyframes float-sq-6 {
    0%, 100% { top: 160px; transform: rotate(12deg) translateZ(15px); }
    50% { top: 152px; transform: rotate(17deg) translateZ(15px); }
}
@keyframes float-sq-7 {
    0%, 100% { top: 250px; transform: rotate(-30deg) translateZ(-30px); }
    50% { top: 242px; transform: rotate(-25deg) translateZ(-30px); }
}
@keyframes float-sq-8 {
    0%, 100% { top: 90px; transform: rotate(35deg) translateZ(30px); }
    50% { top: 82px; transform: rotate(40deg) translateZ(30px); }
}

/* Blog Section Styling */
.blog-section {
    position: relative;
    background-color: #fbfbfd;
    border-top: 1px solid var(--border-color-light);
    border-bottom: 1px solid var(--border-color-light);
    overflow: hidden;
}

.blog-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.015);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(3, 169, 242, 0.08);
    border-color: rgba(3, 169, 242, 0.15);
}

.blog-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background-color: #f1f5f9;
}

.blog-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-image-wrapper img {
    transform: scale(1.06);
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    z-index: 2;
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: right;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-title {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.5;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--color-primary);
}

.blog-excerpt {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-card:hover .blog-readmore {
    gap: 10px;
}

.blog-readmore svg {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-readmore svg {
    transform: translateX(-4px); /* Moves left in RTL */
}