@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out forwards;
}

.animate-bounce {
    animation: bounce 2s infinite;
}
/* Hamburger menu styles */
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1E3A8A;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-button.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu link animations */
.mobile-link {
    display: block;
    padding: 12px 0;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D4AF37;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Enhanced hover effects */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}
/* Email styling for contact cards */
.email-address {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

@media (max-width: 640px) {
    .email-address {
        font-size: 0.9rem;
    }
}
/* Card hover effect */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Review stars */
.star-rating {
    transition: all 0.2s ease;
}

.star-rating:hover {
    transform: scale(1.2);
}
/* Form messages */
#form-messages {
    transition: all 0.3s ease;
}

/* Review items */
#reviews-list > div {
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

#reviews-list > div:nth-child(1) { animation-delay: 0.1s; }
#reviews-list > div:nth-child(2) { animation-delay: 0.2s; }
#reviews-list > div:nth-child(3) { animation-delay: 0.3s; }
#reviews-list > div:nth-child(4) { animation-delay: 0.4s; }
#reviews-list > div:nth-child(5) { animation-delay: 0.5s; }
/* Popular pack styling */
.border-secondary {
    border-color: #D4AF37;
}

.rotate-12 {
    transform: rotate(12deg);
}

.translate-x-2 {
    transform: translateX(0.5rem);
}

.translate-y-2 {
    transform: translateY(0.5rem);
}
/* Popular badge */
.transform.rotate-12 {
    transform: rotate(12deg);
}

.translate-x-2 {
    transform: translateX(0.5rem);
}

.translate-y-2 {
    transform: translateY(0.5rem);
}

.bg-opacity-20 {
    background-color: rgba(212, 175, 55, 0.2);
}
/* Hide/show navbar animation */
custom-navbar {
    transition: transform 0.3s ease-in-out;
}

/* Mobile menu styles */
@media (max-width: 1023px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .mobile-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .mobile-menu.active {
        max-height: 100vh;
        padding: 1.5rem;
    }
}

/* Custom shadows */
.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom gradients */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-primary {
    --tw-gradient-from: #1E3A8A;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(30, 58, 138, 0));
}

.to-primary-dark {
    --tw-gradient-to: #172554;
}

/* Custom opacity */
.bg-opacity-10 {
    background-color: rgba(30, 58, 138, 0.1);
}

/* Responsive typography */
@media (max-width: 640px) {
    .text-5xl {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .text-6xl {
        font-size: 3rem;
        line-height: 1;
    }
}