html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

.text-gradient {
    background: linear-gradient(to right, #6d28d9, #16a34a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(to right, #4c1d95, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-gradient-green {
    background: linear-gradient(to right, #166534, #22c55e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Enhanced Gradient Overlays */
.gradient-overlay-purple {
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.8) 0%, rgba(124, 58, 237, 0.7) 100%);
}

.gradient-overlay-green {
    background: linear-gradient(135deg, rgba(22, 101, 52, 0.8) 0%, rgba(34, 197, 94, 0.7) 100%);
}

.gradient-overlay-mix {
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.8) 0%, rgba(22, 101, 52, 0.8) 100%);
}

/* Off-Canvas Menu */
.off-canvas-menu {
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.off-canvas-menu.active {
    transform: translateX(0);
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Glow Effect */
.glow-effect {
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
    transition: box-shadow 0.3s ease;
}

.glow-effect:hover {
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.8);
}

.glow-effect-green {
    box-shadow: 0 0 15px rgba(22, 163, 74, 0.5);
    transition: box-shadow 0.3s ease;
}

.glow-effect-green:hover {
    box-shadow: 0 0 25px rgba(22, 163, 74, 0.8);
}

/* Card Hover Effects */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-10px);
}

/* Improved Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: background-position 0.1s ease-out;
}

/* Enhanced Blob Animation */
.blob {
    animation: morph 15s infinite alternate;
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Custom Scroll Bar */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6d28d9 0%, #16a34a 100%);
    border-radius: 7px;
    border: 4px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #5b21b6 0%, #15803d 100%);
}

/* Testimonial Slider */
.testimonial-slider {
    transition: transform 0.5s ease;
}

/* Active Indicator */
.active-indicator {
    transition: all 0.3s ease;
}

/* Dividers Animation */
.wavy-divider {
    animation: wave 25s linear infinite;
    animation-delay: -2s;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Enhanced Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Animated Background */
.animated-bg {
    background-size: 400%;
    animation: gradient-bg 15s ease infinite;
}

@keyframes gradient-bg {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Pulsating Circle */
.pulsating-circle {
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

/* Rotating Icon */
.rotating-icon {
    animation: spin 12s linear infinite;
}

/* Pattern Animation */
.moving-pattern {
    animation: pattern-move 20s linear infinite;
}

@keyframes pattern-move {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 100%;
    }
}

/* Wave-specific animation styles (using unique class names) */
.wave-container {
    position: relative;
    width: 100%;
    height: 70px;
    margin-bottom: -1px;
    min-height: 70px;
    max-height: 70px;
    overflow: hidden;
    line-height: 0;
}

/* Unique animation keyframes name to avoid conflicts */
@keyframes waveMove {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* Specific selectors to avoid conflicts with your .parallax class */
.wave-parallax>use:nth-child(1) {
    animation: waveMove 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.wave-parallax>use:nth-child(2) {
    animation: waveMove 20s cubic-bezier(0.55, 0.5, 0.45, 0.5) -2s infinite;
}

.wave-parallax>use:nth-child(3) {
    animation: waveMove 15s cubic-bezier(0.55, 0.5, 0.45, 0.5) -3s infinite;
}

.wave-parallax>use:nth-child(4) {
    animation: waveMove 10s cubic-bezier(0.55, 0.5, 0.45, 0.5) -4s infinite;
}