* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #0a0a0a;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #ff6a00;
    border-radius: 4px;
}

/* Energy Flow Canvas */
#energy-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Electric Pulse Animation */
@keyframes electricPulse {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 106, 0, 0.2); }
    50% { box-shadow: 0 0 20px rgba(255, 106, 0, 0.6), 0 0 40px rgba(255, 106, 0, 0.3); }
}

@keyframes flowLine {
    0% { stroke-dashoffset: 1000; }
    100% { stroke-dashoffset: 0; }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.electric-glow {
    animation: electricPulse 3s infinite;
}

.card-hover-glow:hover {
    animation: electricPulse 1.5s infinite;
    border-color: rgba(255, 106, 0, 0.5);
}

/* Navigation */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Stagger Animation Classes for GSAP fallback/reference */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
}

/* Image Hover Zoom */
.img-zoom-container {
    overflow: hidden;
}
.img-zoom-container img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-zoom-container:hover img {
    transform: scale(1.08);
}

/* Energy Line SVG Background */
.energy-line {
    stroke: #ff6a00;
    stroke-width: 1;
    fill: none;
    opacity: 0.15;
    stroke-dasharray: 10, 5;
    animation: flowLine 20s linear infinite;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}
.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* Button Styles */
.btn-primary {
    background: #ff6a00;
    color: white;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #ff6a00;
}
.btn-primary:hover {
    background: transparent;
    color: #ff6a00;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: #0a0a0a;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #0a0a0a;
}
.btn-outline:hover {
    background: #0a0a0a;
    color: white;
    transform: translateY(-2px);
}

.btn-dark {
    background: #1a1a1a;
    color: white;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #1a1a1a;
}
.btn-dark:hover {
    background: transparent;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #ff6a00 0%, #ff8533 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Client Logo Marquee */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-track {
    animation: marquee 30s linear infinite;
}
.marquee-track:hover {
    animation-play-state: paused;
}

/* Grid Pattern Background */
.grid-pattern {
    background-image: 
        linear-gradient(rgba(255, 106, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 106, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Service Card */
.service-card {
    background: white;
    border: 1px solid #e5e5e5;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6a00, #ff8533);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-card:hover {
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Product Card */
.product-card {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: #ff6a00;
    box-shadow: 0 20px 40px rgba(255, 106, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Form Input */
.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #fafafa;
}
.form-input:focus {
    outline: none;
    border-color: #ff6a00;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}

/* Mobile Menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mobile-menu.open {
    transform: translateX(0);
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.3), transparent);
}

/* Counter Animation */
.counter-value {
    font-variant-numeric: tabular-nums;
}

/* Loading Screen */
#loader {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    opacity: 1;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.loader-line {
    width: 200px;
    height: 2px;
    background: #e5e5e5;
    position: relative;
    overflow: hidden;
}
.loader-line::after {
    content: '';
    position: absolute;
    left: -50%;
    width: 50%;
    height: 100%;
    background: #ff6a00;
    animation: loaderSlide 1s ease-in-out infinite;
}
@keyframes loaderSlide {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* Nav Link Hover Underline */
.nav-link {
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6a00;
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.nav-link.active {
    color: #ff6a00 !important;
}

/* Page fade transition on initial entry */
.page-fade-in {
    animation: fadeInAnimation 0.5s ease forwards;
}
@keyframes fadeInAnimation {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer Logo style for dark backgrounds */
.footer-logo {
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: all 0.3s ease;
}
.footer-logo:hover {
    opacity: 1;
}

