/* Custom animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes pulse-grow {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes slide-in {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes color-change {
    0% {
        color: #ffffff;
    }

    25% {
        color: #fbbf24;
    }

    50% {
        color: #34d399;
    }

    75% {
        color: #60a5fa;
    }

    100% {
        color: #ffffff;
    }
}

@keyframes fade-out {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 8s ease-in-out infinite;
}

.animation-delay-1000 {
    animation-delay: 1s;
}

.animation-delay-1500 {
    animation-delay: 1.5s;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out;
}

.animation-delay-200 {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.animation-delay-400 {
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

.animation-delay-600 {
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

.animation-delay-1000 {
    animation-delay: 1s;
    animation-fill-mode: both;
}

.animation-delay-1200 {
    animation-delay: 1.2s;
    animation-fill-mode: both;
}

.animate-blink {
    animation: blink 1s infinite;
}

.animate-slide-in {
    animation: slide-in 0.5s ease-out;
}

.animate-color-change {
    animation: color-change 5s infinite;
}

.animate-fade-out {
    animation: fade-out 0.5s ease-out;
}

.animate-fade-in {
    animation: fade-in 0.5s ease-out;
}

/* Custom clip paths */
.clip-triangle {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.clip-polygon {
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

/* Mobile dropdown styles */


.mobile-dropdown.active .mobile-dropdown-icon {
    transform: rotate(180deg);
}

/* Button styles with improved hover effects */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(139, 120, 120, 0.06);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-2px);
}

/* Improved hover effects for dropdown items */
.dropdown-item:hover {
    background-color: var(--primary-color)/10;
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Improved hover effects for product cards */
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.2);
}

/* Header styles */
.header {
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Mobile nav top offset adjustment */
.mobile-nav {
    top: 0;
}

/* Hero section top padding adjustment */
.hero {
    padding-top: 89px;
}

/* Animated header text styles */
.animated-text-container {
    display: inline-flex;
    align-items: center;
}

.animated-header-text {
    position: relative;
    min-width: 120px;
    text-align: left;
    display: inline-block;
}

/* Footer styles */
.footer-top {
    position: relative;
    overflow: hidden;
}

.footer-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.footer-links li a {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    transform: translateX(5px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.02);
}

.dark .footer-bottom {
    background-color: rgba(255, 255, 255, 0.05);
}