 
/*  Festival D Refresh Theme  */
:root {
    --primary-color: #cf61f7;
    --secondary-color: #f9a529;
    --accent-color: #000000;
    --background-color: #FEFEFE;
    --text-color: #333333;
    --light-color: #F7FAFC;
    --border-color: #E2E8F0;
    --success-color: #38A169;
    --warning-color: #D69E2E;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    --gradient-secondary: linear-gradient(to right, var(--accent-color), #4A5568);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

body {
    font-family: 'Poppins', sans-serif !important;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}
a {
    color: inherit !important;
    text-decoration: inherit !important;
}

/* Keep the Modal working but hide the Bootstrap reset */
.modal {
    font-family: inherit;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* ===== TOP BANNER & MARQUEE ===== */
.top-banner {
    background: var(--gradient-primary);
    color: white;
    height: 40px;
    overflow: hidden;
    position: relative;
    z-index: 1100;
}

.marquee-track {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    display: inline-block;
    padding: 0 4rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.top-banner:hover .marquee-content {
    animation-play-state: paused;
}
/* Hide the spin buttons in WebKit browsers (Chrome, Safari, Edge, Opera) */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide the spin buttons in Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

/* Hide for all other browsers */
input[type="number"] {
  appearance: none;
}

/* ===== FIXED HEADER & NAVBAR STYLES ===== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding-top: 1.5rem;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.scrolled {
    padding-top: 0;
}

header.scrolled nav {
    max-width: 100%;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    background: rgba(255, 255, 255, 0.98);
    height: 80px;
}

.nav-container {
    display: flex;
    justify-content: center;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    height: 100px;
    padding: 0 40px;
    border-radius: 9999px;
    color: var(--text-color);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 80vw;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (max-width: 1024px) {
    header {
        padding-top: 1rem;
    }
    header.scrolled nav {
        height: 70px;
    }
    nav {
        max-width: 95vw;
        height: 80px;
        padding: 0 25px;
    }
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-circle {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.logo-circle i {
    font-size: 1.1rem;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 2.5rem;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.nav-item {
    position: relative;
    overflow: hidden;
    height: 1.5rem;
}

.nav-link {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-link-hover {
    position: absolute;
    top: 100%;
    left: 0;
    font-weight: 600;
    color: var(--primary-color);
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-item:hover .nav-link {
    transform: translateY(-100%);
}

.nav-item:hover .nav-link-hover {
    transform: translateY(-100%);
}

/* Desktop Buttons */
.desktop-buttons {
    display: none;
}

@media (min-width: 768px) {
    .desktop-buttons {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-left: auto;
    }
}

.enquiry-btn {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 0.7rem 1.75rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
}

.enquiry-btn:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.shop-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 0.7rem 1.75rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.25);
}

.shop-btn:hover {
    box-shadow: 0 12px 25px rgba(255, 107, 53, 0.4);
    transform: translateY(-3px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    z-index: 1001;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 400px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem;
    z-index: 1000;
    box-shadow: var(--shadow-heavy);
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu.active {
    display: flex;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.mobile-menu-link {
    text-align: center;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--primary-color);
}

.mobile-divider {
    width: 66.666%;
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0.5rem auto;
}

.mobile-menu-enquiry {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    padding: 0.5rem;
}

.mobile-menu-shop {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    box-shadow: var(--shadow-light);
    margin-top: 0.5rem;
}

/* Overlay for mobile menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Button Styles */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Section Styles */
section {
    padding: 5rem 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

section.active {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* ===== PREMIUM TEXT ANIMATIONS ===== */
/* Gradient Text Animation */
@keyframes gradientShine {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeInUpText {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blinkCursor {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--primary-color);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Premium Title Styles */
.premium-title {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.premium-title.gradient-animate {
    background: linear-gradient(90deg, 
        var(--primary-color), 
        var(--secondary-color), 
        #fff, 
        var(--primary-color));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShine 8s ease infinite;
}

.premium-title.fade-up {
    opacity: 0;
    animation: fadeInUpText 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation-delay: 0.3s;
}

.premium-title.slide-left {
    opacity: 0;
    animation: slideInLeft 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 0.4s;
}

.premium-title.slide-right {
    opacity: 0;
    animation: slideInRight 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 0.4s;
}

.premium-title.scale-in {
    opacity: 0;
    animation: scaleIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.5s;
}

.premium-title.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    margin: 0 auto;
    animation: 
        typewriter 2s steps(40, end) forwards,
        blinkCursor 0.75s step-end infinite;
    animation-delay: 0.5s;
}

.premium-title.float {
    animation: float 3s ease-in-out infinite;
}

/* Underline Animation */
.premium-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--gradient-primary);
    transition: width 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 2px;
}

.premium-title.animated::after {
    width: 100%;
}

/* Subtitle Animations */
.premium-subtitle {
    opacity: 0;
    animation: fadeInUpText 1s ease forwards;
    animation-delay: 0.8s;
}

/* Character-by-character animation */
.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpText 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

/* Stagger effect for characters */
.char-animate .char:nth-child(1) { animation-delay: 0.1s; }
.char-animate .char:nth-child(2) { animation-delay: 0.2s; }
.char-animate .char:nth-child(3) { animation-delay: 0.3s; }
.char-animate .char:nth-child(4) { animation-delay: 0.4s; }
.char-animate .char:nth-child(5) { animation-delay: 0.5s; }
.char-animate .char:nth-child(6) { animation-delay: 0.6s; }
.char-animate .char:nth-child(7) { animation-delay: 0.7s; }
.char-animate .char:nth-child(8) { animation-delay: 0.8s; }
.char-animate .char:nth-child(9) { animation-delay: 0.9s; }
.char-animate .char:nth-child(10) { animation-delay: 1.0s; }
.char-animate .char:nth-child(11) { animation-delay: 1.1s; }
.char-animate .char:nth-child(12) { animation-delay: 1.2s; }
.char-animate .char:nth-child(13) { animation-delay: 1.3s; }
.char-animate .char:nth-child(14) { animation-delay: 1.4s; }
.char-animate .char:nth-child(15) { animation-delay: 1.5s; }
.char-animate .char:nth-child(16) { animation-delay: 1.6s; }
.char-animate .char:nth-child(17) { animation-delay: 1.7s; }
.char-animate .char:nth-child(18) { animation-delay: 1.8s; }
.char-animate .char:nth-child(19) { animation-delay: 1.9s; }
.char-animate .char:nth-child(20) { animation-delay: 2.0s; }

/* Word-by-word animation */
.word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpText 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    margin-right: 0.3em;
}

.word-animate .word:nth-child(1) { animation-delay: 0.1s; }
.word-animate .word:nth-child(2) { animation-delay: 0.3s; }
.word-animate .word:nth-child(3) { animation-delay: 0.5s; }
.word-animate .word:nth-child(4) { animation-delay: 0.7s; }
.word-animate .word:nth-child(5) { animation-delay: 0.9s; }
.word-animate .word:nth-child(6) { animation-delay: 1.1s; }
.word-animate .word:nth-child(7) { animation-delay: 1.3s; }
.word-animate .word:nth-child(8) { animation-delay: 1.5s; }
.word-animate .word:nth-child(9) { animation-delay: 1.7s; }
.word-animate .word:nth-child(10) { animation-delay: 1.9s; }

/* Responsive text animations */
@media (max-width: 768px) {
    .premium-title {
        font-size: 2.2rem !important;
    }
    
    .premium-title.typewriter {
        white-space: normal;
        border-right: none;
        animation: none;
    }
}

/* Card Styles */
.card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, box-shadow;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-light);
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-heavy);
}

.carousel-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 500px;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    filter: brightness(0.8);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem;
    max-width: 800px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    color: var(--primary-color);
}

.carousel-btn.prev {
    left: 2rem;
}

.carousel-btn.next {
    right: 2rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.1s linear;
    z-index: 10;
}

/* Testimonial Styles */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: 'Playfair Display', serif;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 1rem;
}

/* Testimonial Slider Styles */
.testimonial-slider-container {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 1rem;
}

.testimonial-slider-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.testimonial-slider-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* Products Grid from JCS Crackers */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-category-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.product-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.product-category-card:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
}

.product-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-color);
    will-change: transform, box-shadow;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.product-image {
    height: 200px;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Premium Footer Styles */
.premium-footer {
    background: linear-gradient(135deg, var(--accent-color) 0%, #1a202c 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.premium-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-links-column h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 0.75rem;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links-list a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ===== ENHANCED ANIMATION CLASSES ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Fade-in animation for better performance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Smooth scale animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stagger-animation > * {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.175, 0.885, 0.320, 1.275);
    will-change: opacity, transform;
}

.stagger-animation.animated > * {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Parallax effect */
[data-speed] {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-color);
    will-change: transform, box-shadow;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.category-card:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ===== ADDED MISSING STYLES ===== */

/* Contact Page Specific Styles */
.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: white;
    padding-left: 5px;
}

.footer-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Filter Buttons for Products Page */
.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 107, 53, 0.1);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--accent-color) 0%, #1a202c 100%);
    color: white;
}

/* Form input for newsletter */
.newsletter-form {
    display: flex;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem 0 0 0.5rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    opacity: 0.9;
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-color);
}

.faq-question.active {
    background: var(--light-color);
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 1000px;
}

/* Page Header Styles */
.page-header {
    padding: 6rem 1rem 4rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #2D3748 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #FFA62E);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.cta-section {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #1a202c 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Loading animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--light-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .stagger-animation > *,
    section,
    .card,
    .product-card,
    .category-card,
    .faq-answer,
    .mobile-menu,
    .carousel-slide,
    .testimonial-slider,
    .premium-title,
    .premium-subtitle,
    .char,
    .word {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        border-right: none !important;
    }
    
    .loading-screen,
    .loading-spinner {
        display: none !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: 3rem 1rem;
    }
    .absolute{
        margin-top: 60px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .carousel-track {
        height: 400px;
    }
    
    .carousel-btn {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .slide-content {
        padding: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .premium-footer .footer-links-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile menu adjustments */
    .mobile-menu {
        top: 4.5rem;
    }
}

@media (max-width: 480px) {
    .carousel-track {
        height: 350px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 4rem 1rem 3rem;
    }
    
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
        margin: 0.2rem;
    }
    
    /* Mobile menu adjustments */
    .mobile-menu {
        top: 4rem;
        width: calc(100% - 1rem);
        padding: 1.5rem;
    }
}

/* ===== PRODUCT CATEGORY CARD STYLES ===== */
/* ===== PREMIUM PRODUCT CATEGORY CARD STYLES ===== */
.category-card {
    position: relative;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 2.5rem;
    padding: 3.5rem 2rem;
    text-align: center;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 40px 80px rgba(255, 107, 53, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    z-index: 1;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.category-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.category-card:hover::before {
    opacity: 1;
}

/* Image Container with Glow Effect */
.category-image-container {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    position: relative;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    flex-shrink: 0;
    background: white;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Decorative Outer Glow */
.category-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary-color), var(--secondary-color), transparent, var(--primary-color));
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: spin 4s linear infinite;
    z-index: -1;
}

.category-card:hover .category-image-container::before {
    opacity: 0.3;
}

/* Internal Frame */
.category-image-container::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 107, 53, 0.2);
    animation: rotateCounter 10s linear infinite;
    z-index: 1;
}

.category-card:hover .category-image-container {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
    border-color: white;
}

.category-image {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 2;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    animation: floatImage 4s ease-in-out infinite;
}

.category-card:hover .category-image {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.2));
    animation-play-state: paused;
}

/* Keyframes for Premium Animations */
@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateCounter {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.category-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    color: var(--accent-color);
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.01em;
    z-index: 2;
}

.category-card:hover .category-title {
    color: white;
    transform: scale(1.05);
}

.category-desc {
    font-size: 0.95rem;
    color: #4A5568;
    transition: all 0.5s ease;
    line-height: 1.6;
    max-width: 220px;
    z-index: 2;
    font-weight: 500;
}

.category-card:hover .category-desc {
    color: rgba(255, 255, 255, 0.95);
}

.category-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0.8;
    transform: translateY(10px);
    z-index: 2;
}

.category-card:hover .category-link {
    opacity: 1;
    transform: translateY(0);
    background: white;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-link i {
    font-size: 1.25rem;
    transition: transform 0.4s ease;
}

.category-link:hover i {
    transform: translateX(5px);
}

/* Card Shine Effect */
.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-25deg);
    transition: none;
    z-index: 1;
}

.category-card:hover::after {
    animation: cardShine 1.5s ease-out infinite;
}
.animate-on-scroll {
    opacity: 1 !important;
}
@keyframes cardShine {
    0% { left: -100%; }
    100% { left: 200%; }
}