/* Global Styles & Variables */
:root {
    --primary-color: #0077ff;
    --bg-light: #f8f9fb;
    --text-dark: #333;
    --text-light: #fff;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --card-hover-shadow: 0 20px 40px rgba(0, 119, 255, 0.2);
}

body {
    margin: 0;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 3D Card Effect */
.card-3d-container {
    perspective: 1000px;
}

.perspective-1000 {
    perspective: 1000px;
}

.card-3d {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s;
    transform-style: preserve-3d;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    box-shadow: var(--card-hover-shadow);
}

/* Smooth Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Utility Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 119, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 119, 255, 0.4);
}

/* Header */
header {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Text Shimmer Animation */
.text-shimmer {
    background: linear-gradient(to right,
            #0077ff 20%,
            #00c6ff 40%,
            #0077ff 60%,
            #0077ff 80%);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Color Loop Animation */
.color-loop {
    animation: colorChange 2s linear infinite;
    font-weight: 800;
}

@keyframes colorChange {
    0% {
        color: #0077ff;
    }

    25% {
        color: #00c6ff;
    }

    50% {
        color: #ec4899;
    }

    75% {
        color: #8b5cf6;
    }

    100% {
        color: #0077ff;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 10px #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .whatsapp-float {
        bottom: 5.5rem;
        /* Space above the call button on mobile */
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}