.hero-animation {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a2632; /* Solid dark background instead of gradient */
}

/* Particle background */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.15;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

/* Lightbulb styling */
.bulb {
    display: none;
}

/* SVG styling */
svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Wire path styling */
.wire {
    fill: none;
    stroke: #f39c12;
    stroke-width: 2;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawWire 2s ease 2.5s forwards;
    transform-origin: center;
}

.wire-glow {
    fill: none;
    stroke: #ffeb3b;
    stroke-width: 4;
    stroke-linecap: round;
    filter: drop-shadow(0 0 5px rgba(255, 235, 59, 0.8));
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: flowPower 1s ease 3s forwards;
    transform-origin: center;
}

/* Text styling */
.hero-text {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 4rem;
    margin: 1rem 0;
    color: rgba(255, 255, 255, 0.95); /* Brighter white text */
    text-shadow: none; /* Remove text shadow */
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-text p {
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.hero-text hr {
    border-color: rgba(255,255,255,0.3);
    margin: 1.5rem auto;
    width: 50%;
}

/* Text glow effect */
.highlight {
    position: relative;
    color: #FFFF00;
    font-weight: 600;
    animation: electricalGlow 8s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(255, 255, 0, 1),
                 0 0 25px rgba(255, 255, 0, 1),
                 0 0 35px rgba(255, 255, 0, 0.8);
    z-index: 5;
}

/* Spark effect */
.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    filter: blur(1px) drop-shadow(0 0 5px #ffd700);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.spark.active {
    animation: sparkEffect 0.3s ease-out forwards;
}

/* Animations */
@keyframes drawWire {
    to {
        stroke-dashoffset: 0;
    }
}

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

@keyframes sparkEffect {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(200px, 100px) scale(1.5) translateY(0);
    }
    50% {
        transform: translate(200px, 100px) scale(1.5) translateY(-10px);
    }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
        gap: 0.25rem;
    }
    
    .hero-text p {
        font-size: 1.2rem;
    }
    
    .wire, .wire-glow {
        stroke-width: 2;
    }
    
    .spark {
        r: 6;
    }
    
    .hero-bulb {
        width: 32px;
        height: 32px;
        margin-left: 0.5rem;
    }
    
    .wire-container {
        top: 40%;
        left: 85%;
    }
}

/* Add these styles for the service slider */
.service-slide {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 1rem;
    transition: all 0.3s ease;
}

.service-slide:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.slide-text {
    padding: 2rem;
    text-align: center;
}

.slide-text h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.slide-text hr {
    width: 50px;
    border-color: rgba(255, 255, 255, 0.3);
    margin: 0 auto;
}

/* Text glow effect */
.glow-text {
    color: #f1c40f;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
    animation: textGlow 2s ease-in-out infinite;
}

/* Bulb styling */
.hero-bulb {
    display: inline-block;
    width: 48px;
    height: 48px;
    vertical-align: middle;
    margin-left: 1rem;
    opacity: 0;
    animation: bulbAppear 0.5s ease-out 3s forwards;
    transform-origin: center;
}

.bulb-glass {
    fill: none;
    stroke: #f1c40f;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 10px rgba(241, 196, 15, 0.5));
}

.filament {
    stroke: #f39c12;
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0;
    animation: filamentGlow 2s ease-in-out infinite;
    animation-delay: 3.5s;
}

.base {
    stroke: #f1c40f;
    stroke-width: 2;
    stroke-linecap: round;
}

/* Wire container */
.wire-container {
    position: absolute;
    top: 34%;
    left: 90%;
    z-index: 2;
    pointer-events: none;
}

/* New animations */
@keyframes textGlow {
    /* Remove this animation as we're using electricalGlow instead */
}

@keyframes bulbAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes filamentGlow {
    0%, 100% {
        opacity: 0.5;
        stroke: #f39c12;
    }
    50% {
        opacity: 1;
        stroke: #ffeb3b;
    }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .hero-bulb {
        width: 32px;
        height: 32px;
        margin-left: 0.5rem;
    }
    
    .wire, .wire-glow {
        stroke-width: 2;
    }
}

.animation-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-text {
    position: relative;
    text-align: center;
    z-index: 2;
}

.wire-path-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.wire-path {
    fill: none;
    stroke: #ffd700;
    stroke-width: 3;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}

.bulb {
    position: absolute;
    right: 150px;
    top: 45%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    z-index: 2;
}

.bulb circle, 
.bulb line {
    stroke: #ffd700;
    stroke-width: 3;
    transition: all 0.3s ease;
}

.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    filter: blur(1px) drop-shadow(0 0 5px #ffd700);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

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

.glow-effect {
    animation: textGlow 2s infinite;
}

.bulb.energized {
    animation: bulbGlow 1s infinite;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .bulb {
        right: 50px;
        width: 48px;
        height: 48px;
    }
    
    .wire-path {
        stroke-width: 2;
    }
    
    .spark {
        width: 3px;
        height: 3px;
    }
}

@keyframes electricalGlow {
    0%, 100% {
        filter: brightness(1);
        transform: scale(1);
    }
    50% {
        filter: brightness(1.2);
        transform: scale(1.03);
    }
}

@keyframes textPulse {
    /* Remove this as we're using electricalGlow */
}

/* Add these styles for the WhatsApp widget */
.whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-widget svg {
    width: 35px;
    height: 35px;
    position: relative;
    top: auto;
    left: auto;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .whatsapp-widget {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-widget svg {
        width: 30px;
        height: 30px;
    }
} 