 body {
                  background-color: white; /* Ensure the iframe has a white background */
                }

                /* 
 * Circuito Ocho - Custom Styles
 * Augments Tailwind CSS with specific animations and effects
 */

/* Smooth Scrolling for HTML is handled in HTML tag class */


@font-face {
    font-family: 'Sanspix';
    src: url('../assets/fonts/Sanspix-Regular.woff2') format('woff2'), /* Modern Browsers */
         url('../assets/fonts/Sanspix-Regular.woff') format('woff');   /* Fallback for older browsers */
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* Improves performance by showing fallback text until font loads */
}


/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #06190C;
}

::-webkit-scrollbar-thumb {
    background: #35FC03;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2ae002;
}

/* Reveal Animation Classes */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for grid items */
.reveal-element:nth-child(2) { transition-delay: 0.1s; }
.reveal-element:nth-child(3) { transition-delay: 0.2s; }
.reveal-element:nth-child(4) { transition-delay: 0.3s; }
.reveal-element:nth-child(5) { transition-delay: 0.4s; }
.reveal-element:nth-child(6) { transition-delay: 0.5s; }

/* Glow Effects */
.glow-text {
    text-shadow: 0 0 10px rgba(53, 252, 3, 0.5);
}

.glow-box {
    box-shadow: 0 0 15px rgba(53, 252, 3, 0.1);
}

.glow-box:hover {
    box-shadow: 0 0 25px rgba(53, 252, 3, 0.3);
}

/* Button Hover Glow */
.btn-neon {
    position: relative;
    z-index: 1;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 10px #35FC03;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-neon:hover::before {
    opacity: 1;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Canvas Positioning */
#bg-canvas {
    z-index: -1;
    pointer-events: none;
}

/* Parallax Section Styles */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-section .parallax-content {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* Circuit Animation Lines */
.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #35FC03, transparent);
    height: 2px;
    opacity: 0.3;
    animation: circuitFlow 3s infinite linear;
}

@keyframes circuitFlow {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Data Stream Animation */
.data-stream {
    position: absolute;
    width: 4px;
    height: 100px;
    background: linear-gradient(180deg, transparent, #35FC03, transparent);
    opacity: 0.4;
    animation: dataFlow 4s infinite linear;
}

@keyframes dataFlow {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Neon Pulse Animation */
@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(53, 252, 3, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(53, 252, 3, 0.6);
    }
}

.neon-pulse {
    animation: neonPulse 2s infinite ease-in-out;
}

/* Testimonial Card Hover Effect */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(53, 252, 3, 0.1), transparent);
    transition: left 0.5s ease;
}

.testimonial-card:hover::before {
    left: 100%;
}

/* Quote Section Special Styling */
.quote-highlight {
    background: rgba(53, 252, 3, 0.05);
    border: 1px solid rgba(53, 252, 3, 0.2);
    position: relative;
}

.quote-highlight::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid transparent;
    border-radius: inherit;
    background: linear-gradient(45deg, #35FC03, transparent, #35FC03) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    pointer-events: none;
}

/* Loading Animation */
.loading-line {
    width: 0;
    height: 2px;
    background: #35FC03;
    animation: loadingLine 2s ease-in-out infinite;
}

@keyframes loadingLine {
    0% {
        width: 0;
        opacity: 1;
    }
    50% {
        width: 100%;
        opacity: 0.5;
    }
    100% {
        width: 100%;
        opacity: 0;
    }
}

/* Floating Action Buttons Styles */
#scroll-to-top {
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#scroll-to-top.visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0);
}

#scroll-to-top:hover {
    transform: translateY(-3px);
}

/* WhatsApp Button Hover Effect */
a[href*="wa.me"]:hover {
    transform: translateY(-3px);
}

/* Pulse Animation for WhatsApp */
@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
    }
}

a[href*="wa.me"] {
    animation: whatsappPulse 2s infinite ease-in-out;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .fixed.bottom-6.right-6 {
        bottom: 4rem;
        right: 1rem;
    }
    
    .w-14.h-14 {
        width: 3rem;
        height: 3rem;
    }
    
    .w-6.h-6, .w-7.h-7 {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* Tooltip Style (Optional) */
.fab-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #06190C;
    color: #35FC03;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    margin-right: 10px;
    border: 1px solid rgba(53, 252, 3, 0.3);
}

.fab-container:hover .fab-tooltip {
    opacity: 1;
}


/* ICONS */

 .icon-wrapper {
      width: 100px;
      height: 100px;
      margin: 0 auto 25px;
      position: relative;
    }

    .icon-wrapper svg {
      width: 100%;
      height: 100%;
      fill: none;
      stroke: #35FC03;
      stroke-width: 1.5;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .icon-title {
      color: #ffffff;
      font-size: 14px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      margin-bottom: 8px;
    }

    .icon-subtitle {
      color: #666666;
      font-size: 11px;
      letter-spacing: 0.5px;
    }

    /* Circuit decoration */
    .circuit-line {
      position: absolute;
      background: rgba(53, 252, 3, 0.1);
      border-radius: 2px;
    }

    /* Animation keyframes */
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.7; transform: scale(0.95); }
    }

    @keyframes rotate {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-5px); }
    }

    @keyframes scan {
      0% { transform: translateY(-100%); }
      100% { transform: translateY(100%); }
    }

    @keyframes blink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.3; }
    }

    @keyframes grow {
      0% { transform: scale(0); }
      100% { transform: scale(1); }
    }

    @keyframes dash {
      to { stroke-dashoffset: 0; }
    }

    /* Icon specific animations */
    .icon-arquitectura .main-shape {
      animation: float 3s ease-in-out infinite;
    }

    .icon-red-neural .node {
      animation: pulse 2s ease-in-out infinite;
    }

    .icon-red-neural .node:nth-child(2) {
      animation-delay: 0.3s;
    }

    .icon-red-neural .node:nth-child(3) {
      animation-delay: 0.6s;
    }

    .icon-red-neural .node:nth-child(4) {
      animation-delay: 0.9s;
    }

    .icon-red-neural .connection {
      stroke-dasharray: 10;
      animation: dash 2s linear infinite;
    }

    .icon-automatizacion .gear {
      animation: rotate 8s linear infinite;
      transform-origin: center;
    }

    .icon-automatizacion .gear-inner {
      animation: rotate 6s linear infinite reverse;
      transform-origin: center;
    }

    .icon-seo .layer {
      animation: float 4s ease-in-out infinite;
    }

    .icon-seo .layer:nth-child(2) {
      animation-delay: 0.5s;
    }

    .icon-seo .layer:nth-child(3) {
      animation-delay: 1s;
    }

    .icon-conversion .arrow {
      animation: float 2s ease-in-out infinite;
    }

    .icon-conversion .target {
      animation: pulse 1.5s ease-in-out infinite;
    }

    .icon-analytics .bar {
      animation: grow 1.5s ease-out infinite;
      transform-origin: bottom;
    }

    .icon-analytics .bar:nth-child(2) {
      animation-delay: 0.2s;
    }

    .icon-analytics .bar:nth-child(3) {
      animation-delay: 0.4s;
    }

    .icon-analytics .bar:nth-child(4) {
      animation-delay: 0.6s;
    }

    .icon-analytics .bar:nth-child(5) {
      animation-delay: 0.8s;
    }

    .icon-analytics .scan-line {
      animation: scan 3s linear infinite;
    }

    /* Glow effect */
    .glow {
      filter: drop-shadow(0 0 8px rgba(53, 252, 3, 0.6));
    }

    /* Responsive */
    @media (max-width: 768px) {
      .icons-grid {
        grid-template-columns: 1fr;
        gap: 30px;
      }

      .icon-wrapper {
        width: 80px;
        height: 80px;
      }
    }


