/* SVG Animations for Green Rich Agro Traders */

/* Floating Particles Animation */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 9s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 3s;
    animation-duration: 6s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 8s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
    animation-duration: 7s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 9s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 7s;
    animation-duration: 6s;
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Animated Background Pattern */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 195, 74, 0.1) 0%, transparent 50%);
    animation: bgShift 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes bgShift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(1deg);
    }
    50% {
        transform: scale(1.05) rotate(-1deg);
    }
    75% {
        transform: scale(1.15) rotate(0.5deg);
    }
}

/* SVG Wave Animation */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    z-index: 2;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%234CAF50'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%234CAF50'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%234CAF50'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 1200px 100px;
    animation: waveMove 20s linear infinite;
}

.wave:nth-child(2) {
    animation-delay: -5s;
    opacity: 0.5;
}

.wave:nth-child(3) {
    animation-delay: -10s;
    opacity: 0.2;
}

@keyframes waveMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Animated Icons */
.animated-icon {
    position: relative;
    display: inline-block;
}

.animated-icon svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.animated-icon:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* Pulse Animation for Buttons */
.btn-pulse {
    position: relative;
    overflow: hidden;
}

.btn-pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-pulse:hover::before {
    width: 300px;
    height: 300px;
}

/* Glowing Border Animation */
.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--primary-color));
    border-radius: inherit;
    z-index: -1;
    animation: glowRotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-border:hover::before {
    opacity: 1;
}

@keyframes glowRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Morphing Shapes */
.morphing-shapes {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    z-index: 0;
}

.morphing-shapes svg {
    width: 100%;
    height: 100%;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

/* Animated Progress Bars */
.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
    animation: progressFill 2s ease-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressFill {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Animated Cards */
.card-animated {
    position: relative;
    overflow: hidden;
}

.card-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.2), transparent);
    transition: left 0.5s ease;
}

.card-animated:hover::before {
    left: 100%;
}

/* SVG Loading Spinner */
.svg-spinner {
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Animated Text */
.animated-text {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 3s ease-in-out infinite;
    color: var(--primary-color) !important; /* Fallback color with !important */
}

/* Ensure text is visible even if gradient fails */
.animated-text:not(:hover) {
    -webkit-text-fill-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

@keyframes textGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: fabFloat 3s ease-in-out infinite;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
}

@keyframes fabFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* NEW SUPER COOL ANIMATIONS */

/* 3D Card Tilt Effect */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

/* Magnetic Button Effect */
.magnetic-btn {
    transition: transform 0.3s ease;
}

.magnetic-btn:hover {
    transform: scale(1.05);
}

/* Confetti Animation */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    animation: confettiFall 3s linear infinite;
}

.confetti:nth-child(1) { left: 10%; animation-delay: 0s; background: #4CAF50; }
.confetti:nth-child(2) { left: 20%; animation-delay: 0.5s; background: #8BC34A; }
.confetti:nth-child(3) { left: 30%; animation-delay: 1s; background: #4CAF50; }
.confetti:nth-child(4) { left: 40%; animation-delay: 1.5s; background: #8BC34A; }
.confetti:nth-child(5) { left: 50%; animation-delay: 2s; background: #4CAF50; }
.confetti:nth-child(6) { left: 60%; animation-delay: 2.5s; background: #8BC34A; }
.confetti:nth-child(7) { left: 70%; animation-delay: 3s; background: #4CAF50; }
.confetti:nth-child(8) { left: 80%; animation-delay: 3.5s; background: #8BC34A; }
.confetti:nth-child(9) { left: 90%; animation-delay: 4s; background: #4CAF50; }

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Neon Glow Effect */
.neon-glow {
    text-shadow: 
        0 0 5px var(--primary-color),
        0 0 10px var(--primary-color),
        0 0 15px var(--primary-color),
        0 0 20px var(--primary-color);
    animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from {
        text-shadow: 
            0 0 5px var(--primary-color),
            0 0 10px var(--primary-color),
            0 0 15px var(--primary-color),
            0 0 20px var(--primary-color);
    }
    to {
        text-shadow: 
            0 0 2px var(--primary-color),
            0 0 5px var(--primary-color),
            0 0 8px var(--primary-color),
            0 0 12px var(--primary-color);
    }
}

/* Bouncing Animation */
.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Shake Animation */
.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Heartbeat Animation */
.heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

/* Rotate Animation */
.rotate {
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Slide In Animation */
.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

.slide-in-up {
    animation: slideInUp 1s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Zoom In Animation */
.zoom-in {
    animation: zoomIn 0.6s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Flip Animation */
.flip {
    animation: flip 1s ease-in-out;
}

@keyframes flip {
    0% { transform: perspective(400px) rotateY(0); }
    40% { transform: perspective(400px) rotateY(-90deg); }
    60% { transform: perspective(400px) rotateY(-90deg); }
    100% { transform: perspective(400px) rotateY(0); }
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-rotate {
    transition: transform 0.3s ease;
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* Gradient Border Animation */
.gradient-border {
    position: relative;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--primary-color));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: gradientRotate 3s linear infinite;
}

@keyframes gradientRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* ULTRA PREMIUM NEW ANIMATIONS */

/* Firework Effect */
.firework {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: firework 2s ease-out forwards;
}

@keyframes firework {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 1;
    }
    50% {
        transform: translateY(50vh) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
}

/* Matrix Rain Effect */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.1;
}

.matrix-character {
    position: absolute;
    color: var(--primary-color);
    font-family: monospace;
    font-size: 14px;
    animation: matrixFall 3s linear infinite;
}

@keyframes matrixFall {
    0% {
        transform: translateY(-100px);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Holographic Effect */
.holographic {
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(76, 175, 80, 0.1) 50%,
        transparent 70%
    );
    background-size: 200% 200%;
    animation: holographicShift 3s ease-in-out infinite;
    color: var(--primary-color) !important;
    -webkit-text-fill-color: var(--primary-color) !important;
}

@keyframes holographicShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #ff0000;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

/* Liquid Fill Effect */
.liquid-fill {
    position: relative;
    overflow: hidden;
}

.liquid-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    transform: translateY(100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.liquid-fill:hover::before {
    transform: translateY(0);
}

/* Magnetic Field Effect */
.magnetic-field {
    position: relative;
}

.magnetic-field::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: inherit;
    opacity: 0;
    transition: all 0.3s ease;
    animation: magneticPulse 2s ease-in-out infinite;
}

.magnetic-field:hover::before {
    opacity: 1;
}

@keyframes magneticPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Energy Field Effect */
.energy-field {
    position: relative;
}

.energy-field::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: energyPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes energyPulse {
    0%, 100% {
        width: 0;
        height: 0;
        opacity: 0;
    }
    50% {
        width: 200px;
        height: 200px;
        opacity: 0.3;
    }
}

/* Crystal Effect */
.crystal {
    background: linear-gradient(
        135deg,
        rgba(76, 175, 80, 0.1) 0%,
        rgba(139, 195, 74, 0.2) 25%,
        rgba(76, 175, 80, 0.1) 50%,
        rgba(139, 195, 74, 0.2) 75%,
        rgba(76, 175, 80, 0.1) 100%
    );
    background-size: 200% 200%;
    animation: crystalShine 4s ease-in-out infinite;
}

@keyframes crystalShine {
    0%, 100% {
        background-position: 0% 0%;
    }
    25% {
        background-position: 100% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
}

/* Quantum Effect */
.quantum {
    position: relative;
    overflow: hidden;
}

.quantum::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(76, 175, 80, 0.3),
        transparent
    );
    animation: quantumShift 3s ease-in-out infinite;
}

@keyframes quantumShift {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* ENHANCED HEADER & FOOTER ANIMATIONS */

/* Logo Link Animation */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

/* Logo Image Enhanced */
.logo-img.neon-glow {
    filter: drop-shadow(0 0 10px var(--primary-color));
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 5px var(--primary-color));
    }
    100% {
        filter: drop-shadow(0 0 20px var(--primary-color)) drop-shadow(0 0 30px var(--accent-color));
    }
}

/* Navigation Links Enhanced */
.nav-link.magnetic-btn {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link.magnetic-btn:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 10px var(--primary-color);
}

/* Hamburger Menu Enhanced */
.hamburger .bar.glow-border {
    transition: all 0.3s ease;
}

.hamburger:hover .bar.glow-border {
    box-shadow: 0 0 10px var(--primary-color);
    background-color: var(--primary-color);
}

/* Footer Enhanced */
.footer-logo-img.neon-glow {
    filter: drop-shadow(0 0 15px var(--primary-color));
    animation: footerLogoGlow 3s ease-in-out infinite alternate;
}

@keyframes footerLogoGlow {
    0% {
        filter: drop-shadow(0 0 10px var(--primary-color));
    }
    100% {
        filter: drop-shadow(0 0 25px var(--primary-color)) drop-shadow(0 0 35px var(--accent-color));
    }
}

/* Contact Info Items */
.contact-info-item {
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(10px);
}

/* Form Input Animations */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.05);
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.form-input.magnetic-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
}

/* Contact Item Enhanced */
.contact-item.card-animated {
    transition: all 0.4s ease;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.contact-item.card-animated:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.2);
}

/* Contact Form Enhanced */
.contact-form.card-animated {
    transition: all 0.4s ease;
    border: 1px solid rgba(76, 175, 80, 0.2);
    padding: 2rem;
    border-radius: 15px;
}

.contact-form.card-animated:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.3);
}

/* Section Headers Enhanced */
.section-header h2.neon-glow {
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    animation: headerGlow 2s ease-in-out infinite alternate;
}

@keyframes headerGlow {
    0% {
        text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    }
    100% {
        text-shadow: 0 0 15px var(--primary-color), 0 0 25px var(--primary-color), 0 0 35px var(--accent-color);
    }
}

/* Fade In Up Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for new animations */
@media (max-width: 768px) {
    .particle {
        width: 3px;
        height: 3px;
    }
    
    .morphing-shapes {
        width: 150px;
        height: 150px;
    }
    
    .fab {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .confetti {
        width: 6px;
        height: 6px;
    }
    
    .matrix-character {
        font-size: 10px;
    }
    
    .logo-img.neon-glow {
        filter: drop-shadow(0 0 5px var(--primary-color));
    }
    
    .footer-logo-img.neon-glow {
        filter: drop-shadow(0 0 8px var(--primary-color));
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
