/* Custom styles for the high-tech vibe */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0d1119; /* gray-900 */
    color: #d1d5db; /* gray-300 */
    overflow-x: hidden; /* Prevent horizontal scrollbars from animations */
}
.text-glow {
    text-shadow: 0 0 8px currentColor;
}
.section {
    padding: 6rem 1rem;
}
@media (min-width: 768px) {
    .section {
        padding: 8rem 2rem;
    }
}

@keyframes chromaShift {
  0%, 100% {
    transform: translate(0, 0);
    filter: blur(0.5px);
  }
  50% {
    transform: translate(1px, -1px);
    filter: blur(1.2px);
  }
}

.chroma-r {
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 2px red);
  animation: chromaShift 1.2s ease-in-out infinite;
}

.chroma-g {
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 2px lime);
  animation: chromaShift 1.2s ease-in-out infinite;
  animation-delay: 0.2s;
}

.chroma-b {
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 2px blue);
  animation: chromaShift 1.2s ease-in-out infinite;
  animation-delay: 0.4s;
}

/* Canvas for background animation */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
/* Ensure content is above canvas */
#home .container {
    position: relative;
    z-index: 2;
}

/* Mobile menu open state for header */
.menu-open {
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

/* --- General Pop Out Card (for Portfolio, Testimonials) --- */
.pop-out-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #374151;
}
.pop-out-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    border-color: #6b7280;
}

/* --- Scroll-Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Glowing Section Divider --- */
.section-divider {
    height: 1px;
    background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.3) 0%, rgba(249, 115, 22, 0) 70%);
    border: 0;
}

/* --- Dynamic Header Sizing --- */
#header-nav {
    transition: padding 0.3s ease-in-out;
}

/* --- NEW Landio-style Service Card --- */
.landio-card {
    background-color: #1f2937; /* gray-800 */
    border-radius: 1.5rem; /* 24px */
    padding: 2px; /* For gradient border */
    background-clip: padding-box;
    position: relative;
    z-index: 1;
    perspective: 1000px; /* IMPORTANT for 3D effect on child */
}
.landio-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    margin: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transition: background 0.4s ease;
}
.landio-card:hover::before {
    background: linear-gradient(135deg, #f97316, #ea580c);
}
.landio-card-content {
    background-color: #1f2937;
    border-radius: inherit;
    padding: 2.5rem 2rem;
    height: 100%;
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Why Us Section Animation Styles --- */
#why-us-visual .icon-showcase {
    background: rgba(42, 54, 73, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1rem;
    position: relative;
    border: 1px solid rgba(107, 114, 128, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
#why-us-visual .icon-showcase:hover {
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), 0 0 35px rgba(249, 115, 22, 0.4);
}
#why-us-visual:hover #central-node {
    filter: url(#why-glow-filter);
}
.why-us-node {
    transition: all 0.3s ease;
}
.why-us-node.active {
    fill: rgba(249, 115, 22, 0.7);
    filter: url(#why-glow-filter);
    stroke: #f97316;
}
#glow-ball {
    fill: #f97316;
    filter: url(#why-glow-filter);
    opacity: 0;
    transition: opacity 0.2s ease;
}