/* All your existing CSS styles remain exactly the same */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Performance Optimizations */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Hardware acceleration and layout stability */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    position: relative;
    transform: translateZ(0);
}

/* Force hardware acceleration on all animated elements */
.contact-card,
.floating-element,
.gradient-circle,
.floating-icon,
.vector-image,
.vector-container,
.contact-slide,
#contact-carousel,
.form-input,
.btn-primary,
.contact-icon,
.social-icon,
.number-badge,
.float-icon {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000;
    will-change: transform;
}

.text-gradient {
    background: linear-gradient(135deg, #fd7e14, #fdbb2d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #fd7e14, #fdbb2d);
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.btn-primary:hover {
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 10px 20px rgba(253, 126, 20, 0.3);
}

/* Optimized Animations */
.animate-pulse-slow {
    animation: pulse 4s ease-in-out infinite;
    transform: translateZ(0);
}

.animate-float {
    animation: gentle-float 8s ease-in-out infinite;
    transform: translateZ(0);
}

.animate-float-delayed {
    animation: gentle-float 9s ease-in-out infinite 1s;
    transform: translateZ(0);
}

.animate-float-slow {
    animation: gentle-float 10s ease-in-out infinite 2s;
    transform: translateZ(0);
}

.animate-bounce-slow {
    animation: gentle-bounce 4s ease-in-out infinite;
    transform: translateZ(0);
}

/* Smoother animation keyframes */
@keyframes gentle-float {
    0%, 100% { 
        transform: translateY(0px) translateZ(0); 
    }
    50% { 
        transform: translateY(-8px) translateZ(0); 
    }
}

@keyframes pulse {
    0% { 
        transform: scale(1) translateZ(0); 
        opacity: 0.3; 
    }
    50% { 
        transform: scale(1.05) translateZ(0); 
        opacity: 0.5; 
    }
    100% { 
        transform: scale(1) translateZ(0); 
        opacity: 0.3; 
    }
}

@keyframes gentle-bounce {
    0%, 100% { 
        transform: translateY(0) translateZ(0); 
    }
    50% { 
        transform: translateY(-6px) translateZ(0); 
    }
}

@keyframes rotate {
    from { 
        transform: rotate(0deg) translateZ(0); 
    }
    to { 
        transform: rotate(360deg) translateZ(0); 
    }
}

/* Enhanced Contact Cards - Performance Optimized */
.contact-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(253, 126, 20, 0.1);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    min-height: 300px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(253, 126, 20, 0.05), transparent);
    transition: left 0.6s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.01) translateZ(0);
    box-shadow: 0 15px 30px rgba(253, 126, 20, 0.12);
    border-color: rgba(253, 126, 20, 0.3);
}

/* Enhanced Contact Icons */
.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.contact-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, #fd7e14, #fdbb2d, #fd7e14);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover .contact-icon::before {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

.contact-icon i {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon i {
    color: white;
    transform: scale(1.05) translateZ(0);
}

/* Different icon colors */
.contact-icon.phone { background: linear-gradient(135deg, #667eea, #764ba2); }
.contact-icon.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.contact-icon.social { background: linear-gradient(135deg, #667eea, #f093fb); }
.contact-icon.chat { background: linear-gradient(135deg, #fd7e14, #fdbb2d); }

.contact-card:hover .contact-icon.phone { 
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: rotate(3deg) scale(1.05) translateZ(0);
}

.contact-card:hover .contact-icon.whatsapp { 
    background: linear-gradient(135deg, #128c7e, #25d366);
    transform: rotate(-3deg) scale(1.05) translateZ(0);
}

.contact-card:hover .contact-icon.social { 
    background: linear-gradient(135deg, #f093fb, #667eea);
    transform: rotate(2deg) scale(1.05) translateZ(0);
}

.contact-card:hover .contact-icon.chat { 
    background: linear-gradient(135deg, #fdbb2d, #fd7e14);
    transform: rotate(-2deg) scale(1.05) translateZ(0);
}

/* Enhanced Social Icons - FIXED: Ensure they're clickable */
.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    cursor: pointer;
    z-index: 10; /* Ensure they're above other elements */
    pointer-events: auto; /* Explicitly enable pointer events */
}

.social-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, currentColor, transparent, currentColor);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::before {
    opacity: 0.2;
    animation: rotate 2s linear infinite;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1) translateZ(0);
    color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.social-icon.facebook:hover { background: #3b5998; }
.social-icon.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* Enhanced Form Styling */
.form-input {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    transform: translateZ(0);
}

.form-input:focus {
    background: white;
    border-color: #fd7e14;
    box-shadow: 0 0 0 3px rgba(253, 126, 20, 0.1);
    transform: translateY(-1px) translateZ(0);
}

/* Shopping Banner Styles */
.shopping-banner {
    background: linear-gradient(135deg, #1a2a6c, #2a1f5c, #fdbb2d);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: gentle-float 8s ease-in-out infinite;
    transform: translateZ(0);
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 20%;
    right: 15%;
    width: 120px;
    height: 120px;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 15%;
    left: 15%;
    width: 60px;
    height: 60px;
    animation-delay: 4s;
}

.floating-element:nth-child(4) {
    bottom: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    animation-delay: 6s;
}

.text-reveal {
    opacity: 0;
    animation: textReveal 1s ease forwards;
    transform: translateZ(0);
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(20px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.btn-pulse {
    animation: pulse 2s infinite;
    transform: translateZ(0);
}

.vector-container {
    position: relative;
    min-height: 320px;
    transform: translateZ(0);
}

.vector-talk {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    background: white;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: talkPulse 3s infinite;
}

.vector-talk:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

@keyframes talkPulse {
    0%, 100% { 
        transform: translateX(-50%) scale(1) translateZ(0); 
    }
    50% { 
        transform: translateX(-50%) scale(1.02) translateZ(0); 
    }
}

.vector-image {
    animation: gentle-float 6s ease-in-out infinite;
    transform: translateZ(0);
}

/* Background Elements - FIXED: Only apply pointer-events-none to actual background elements */
.background-elements {
    pointer-events: none;
}

.gradient-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    z-index: 0;
    transform: translateZ(0);
}

.floating-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    z-index: 1;
    transform: translateZ(0);
}

.animate-rotate {
    animation: rotate 20s linear infinite;
    transform: translateZ(0);
}

/* Card Glow Effect */
.contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #fd7e14, #fdbb2d, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card:hover::after {
    opacity: 1;
}

/* Number Badge Animation */
.number-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #fd7e14, #fdbb2d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(253, 126, 20, 0.3);
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.contact-card:hover .number-badge {
    transform: scale(1.05) rotate(10deg) translateZ(0);
    box-shadow: 0 5px 15px rgba(253, 126, 20, 0.4);
}

/* Disable hover effect for the contact form card */
.contact-card[data-aos="fade-right"]:hover {
    transform: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(253, 126, 20, 0.1) !important;
}

/* Optional: disable the ::before and ::after glow effects for the form card */
.contact-card[data-aos="fade-right"]::before,
.contact-card[data-aos="fade-right"]::after {
    display: none !important;
}

/* Mobile-specific contact card adjustments */
@media (max-width: 768px) {
    .contact-card {
        margin: 0 auto;
        max-width: 320px;
        transform: none !important;
    }
    
    .contact-card:hover {
        transform: none !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .number-badge {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    /* Reduce animation intensity on mobile */
    .animate-float,
    .animate-float-delayed,
    .animate-float-slow,
    .animate-bounce-slow {
        animation-duration: 12s;
    }
    
    @keyframes gentle-float {
        0%, 100% { transform: translateY(0px) translateZ(0); }
        50% { transform: translateY(-4px) translateZ(0); }
    }
}

/* Smooth transitions for carousel */
.contact-slide {
    transition: opacity 0.3s ease-in-out;
    transform: translateZ(0);
}

.contact-nav {
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.contact-dot {
    transition: all 0.3s ease;
    cursor: pointer;
    transform: translateZ(0);
}

.contact-dot:hover {
    transform: scale(1.1) translateZ(0);
}
/* Fix for Live Chat Button Hover Effect */
.btn-primary {
    background: linear-gradient(135deg, #fd7e14, #fdbb2d);
    transition: all 0.3s ease;
    transform: translateZ(0);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05) translateZ(0);
    box-shadow: 0 15px 30px rgba(253, 126, 20, 0.4);
}

/* Ensure the button is clickable and has proper hover states */
.contact-card .btn-primary {
    position: relative;
    z-index: 10;
}

/* Fix for any potential conflicts */
.contact-card:hover .btn-primary:hover {
    transform: translateY(-3px) scale(1.05) translateZ(0) !important;
    box-shadow: 0 15px 30px rgba(253, 126, 20, 0.4) !important;
}
.float-icon {
    animation: gentle-float 3s ease-in-out infinite;
    transform: translateZ(0);
}

/* Scroll performance optimization */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Disable animations when user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-delayed,
    .animate-float-slow,
    .animate-bounce-slow,
    .animate-pulse-slow,
    .vector-image,
    .float-icon {
        animation: none !important;
    }
    
    .contact-card:hover {
        transform: none !important;
    }
}
