/* 
   Garden Hub Nepal - Premium E-commerce Styles 
   Theme: Modern, Clean, Nature-inspired
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;700&display=swap');

:root {
    /* Primary Colors */
    --primary-color: #198754;
    /* Bootstrap Success Green */
    --primary-dark: #146c43;
    --primary-light: #d1e7dd;
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, #20c997 100%);

    /* Component Variables */
    --input-height: 48px;
    --btn-height: 48px;
    --btn-height-sm: 40px;

    /* Secondary Colors */
    --secondary-color: #212529;
    /* Dark Grey */
    --accent-color: #ffc107;
    /* Warning Yellow */
    --danger-color: #dc3545;
    /* Bootstrap Danger */

    /* Neutral Colors */
    --white: #ffffff;
    --dark: var(--secondary-color);
    --bg-light: #f8f9fa;
    --bg-cream: #fdfbf7;
    --text-muted: #6c757d;

    /* Gradients */
    --hero-gradient: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdfa 100%);
    --hero-gradient-dark: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    --card-gradient: linear-gradient(180deg, transparent 0%, rgba(25, 135, 84, 0.02) 100%);
    --glow-gradient: radial-gradient(circle at center, rgba(25, 135, 84, 0.15) 0%, transparent 70%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(25, 135, 84, 0.15);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: 12px;

    /* Animation Timing */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: var(--space-4);
    --radius-xl: var(--space-6);
    --radius-full: 9999px;

    /* Typography Sizes */
    --text-4xl: 4rem;
    --text-3xl: 2.5rem;
    --text-2xl: 1.75rem;
    --text-xl: 1.25rem;
    --text-lg: 1.125rem;
    --text-base: 1rem;
    --text-sm: 0.875rem;
    --text-xs: 0.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    /* 4px */
    --space-2: 0.5rem;
    /* 8px */
    --space-3: 0.75rem;
    /* 12px */
    --space-4: 1rem;
    /* 16px */
    --space-5: 1.25rem;
    /* 20px */
    --space-6: 1.5rem;
    /* 24px */
    --space-8: 2rem;
    /* 32px */
    --space-10: 2.5rem;
    /* 40px */
    --space-12: 3rem;
    /* 48px */

    /* Spacing - Legacy Support */
    --section-padding: clamp(3rem, 8vw, 6rem);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    color: var(--secondary-color);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
}

a {
    text-decoration: none;
}

/* UTILITIES */
.hover-lift {
    transition: var(--transition-fast);
}

.hover-lift:hover {
    transform: translateY(-3px);
}

.hover-shadow:hover {
    box-shadow: var(--shadow-md) !important;
    transition: var(--transition-base);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0f5132 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ls-1 {
    letter-spacing: 1px;
}

/* INPUTS */
.form-control,
.form-select {
    height: var(--input-height);
    border-radius: var(--radius-md);
    border: 1px solid #dee2e6;
    padding: 0 var(--space-4);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.15);
}

/* NAVBAR */
.top-navbar {
    font-size: 0.85rem;
    font-weight: 500;
}

.main-navbar .nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    padding: var(--space-2) var(--space-4);
    position: relative;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--primary-color);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    font-size: 0.7rem;
    padding: 0.25em 0.6em;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.hero-img-container {
    position: relative;
    border-radius: 2rem;
    /* Soft rounded corners */
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid rgba(255, 255, 255, 0.5);
    /* Glassy border effect */
}

/* CARDS */
.product-card {
    transition: var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
    border-color: rgba(25, 135, 84, 0.3);
}

.product-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.category-card {
    transition: var(--transition-base);
    border-radius: var(--space-4);
    overflow: hidden;
}

.category-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.category-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

/* BUTTONS */
.btn {
    height: var(--btn-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-6);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    border: 1px solid transparent;
    /* Ensure border box sizing consistency */
}

.btn-icon {
    width: var(--btn-height);
    height: var(--btn-height);
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Prevent squishing */
}

.btn-sm {
    height: var(--btn-height-sm);
    padding: 0 var(--space-4);
    font-size: var(--text-sm);
}

.btn-primary-soft {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 600;
    border: none;
}

.btn-primary-soft:hover {
    background-color: var(--primary-color);
    color: white;
}

/* FOOTER */
.footer-link {
    color: #adb5bd;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: white;
    padding-left: 5px;
}

/* PAGE HEADER & BREADCRUMB */
.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    /* Dark navy gradient */
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1585320806297-9794b3e4eeae?q=80&w=1000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: overlay;
}

.breadcrumb-modern .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-modern .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-modern .breadcrumb-item.active {
    color: white;
    font-weight: 600;
}

.breadcrumb-modern .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* SECTIONS */
.section-header {
    margin-bottom: 3rem;
    position: relative;
}

.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: var(--space-4) auto 0;
    border-radius: 2px;
}



/*slick carousel*/
.gh-carousel>* {
    display: none;
}

.slick-initialized.gh-carousel>*,
.gh-carousel>*:first-child {
    display: block;
}

.gh-carousel.gutters-5 {
    width: calc(100% + 10px);
}

.gh-carousel.gutters-5 .carousel-box {
    padding-left: 5px;
    padding-right: 5px;
}

.gh-carousel.gutters-10 {
    width: calc(100% + 20px);
}

.gh-carousel.gutters-10 .carousel-box {
    padding-left: 10px;
    padding-right: 10px;
}

.gh-carousel.gutters-15 {
    width: calc(100% + 30px);
}

.gh-carousel.gutters-15 .carousel-box {
    padding-left: 15px;
    padding-right: 15px;
}

.gh-carousel.gutters-16 {
    width: calc(100% + 32px);
}

.gh-carousel.gutters-16 .carousel-box {
    padding-left: 16px;
    padding-right: 16px;
}

.gh-carousel-full * {
    height: 100%;
}

.gh-carousel .slick-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50em;
    border: 0;
    box-shadow: 0 0 1px 1px rgba(20, 23, 28, 0.1),
        0 3px 1px 0 rgba(20, 23, 28, 0.1);
    font-size: 15px;
    line-height: 40px;
    padding: 0;
    text-align: center;
}

.gh-carousel .slick-prev:hover,
.gh-carousel .slick-next:hover {
    box-shadow: 0 2px 10px rgba(20, 23, 28, 0.13) !important;
}

.gh-carousel .slick-prev {
    left: 10px;
}

.gh-carousel.hide-disabled .slick-disabled {
    display: none !important;
}

.gh-carousel .slick-next {
    right: 10px;
}

.gh-carousel.arrow-dark .slick-arrow {
    width: 25px;
    height: 60px;
    background: rgb(177 174 174 / 30%) !important;
    border-radius: 0;
    color: #fff;
    box-shadow: none;
}

.gh-carousel.arrow-x-0 .slick-prev {
    left: 0 !important;
}

.gh-carousel.arrow-x-0 .slick-next {
    right: 0 !important;
}

.gh-carousel.arrow-x-15 .slick-prev {
    left: 15px !important;
}

.gh-carousel.arrow-x-15 .slick-next {
    right: 15px !important;
}

.todays-deal.gh-carousel .slick-arrow {
    background: transparent;
    box-shadow: none;
    top: 40%;
    color: var(--white);
    font-size: 20px;
    transition: 0.4s;
}

.todays-deal.gh-carousel .slick-arrow:hover {
    color: var(--soft-dark);
}

.todays-deal.gh-carousel .slick-prev {
    left: -30px;
}

.todays-deal.gh-carousel .slick-next {
    right: -30px;
}

.gh-carousel .slick-dots {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 0;
    padding-left: 0;
}

.gh-carousel .slick-dots button {
    height: 11px;
    width: 11px;
    padding: 0px;
    color: transparent;
    border: 0;
    background: #ddd;
    border-radius: 50%;
    margin: 0 3px;
}

.gh-carousel .slick-dots .slick-active button {
    background: var(--primary);
}

.gh-carousel.dots-inside-bottom .slick-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}

.half-outside-arrow .slick-prev {
    left: -10px;
}

.half-outside-arrow .slick-next {
    right: -10px;
}

.arrow-none .slick-arrow {
    display: none !important;
}

.arrow-inactive-none .slick-arrow.slick-disabled {
    display: none !important;
}

.arrow-inactive-transparent .slick-arrow.slick-disabled {
    opacity: 0.35 !important;
}

.slick-vertical .slick-arrow {
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(90deg);
    -webkit-transform: translateX(-50%) rotate(90deg);
}

.slick-vertical .slick-prev {
    top: -10px;
}

.slick-vertical .slick-next {
    bottom: -10px;
}

.slider-full .slick-slider {
    line-height: 0 !important;
}

.slick-slider.slick-left .slick-track {
    margin-left: 0 !important;
}

.slick-slider.slick-right .slick-track {
    margin-right: 0 !important;
}

[data-vertical="true"] .slick-current .carousel-box {
    border-color: var(--primary) !important;
    border-width: 2px !important;
}

[data-vertical="false"] .slick-current .carousel-box img {
    border-color: var(--primary) !important;
    border-width: 2px !important;
}

#section_featured .slick-slider .slick-list .slick-slide {
    margin-bottom: -4px;
}

@media (max-width: 991px) {
    #section_featured .slick-slider .slick-list .slick-slide {
        margin-bottom: 0px;
    }
}

/*range slider - no ui slider*/
.gh-range-slider .noUi-connect {
    background: var(--black-50);
}

.gh-range-slider .noUi-target {
    border-color: #EDEDF2;
}

/* Custom Shop Styles */
.group:hover .group-hover-bg-success {
    background-color: var(--bs-success) !important;
}

.group:hover .group-hover-text-dark {
    color: var(--bs-dark) !important;
}

/* Modern Pagination */
.pagination-modern {
    gap: var(--space-2);
}

.pagination-modern .page-item .page-link {
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--bs-secondary);
    background: transparent;
}

.pagination-modern .page-item.active .page-link {
    background: var(--bs-success);
    color: white;
    box-shadow: 0 4px 10px rgba(25, 135, 84, 0.3);
}

.pagination-modern .page-item .page-link:hover:not(.active) {
    background: var(--bg-light);
    color: var(--bs-dark);
}

#productGrid {
    transition: opacity 0.3s ease;
}

#productGrid.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* ==========================================
   PRODUCT DETAIL PAGE STYLES
   ========================================== */

/* Sticky Info Column */
.product-info-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 5rem;
    z-index: 10;
    height: fit-content;
}

/* Gallery Container */
.product-gallery-container {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
}

/* Product Title Typography */
.product-title {
    letter-spacing: -0.5px;
    line-height: 1.1;
}

/* Price Tabular Numbers */
.price-value {
    font-feature-settings: "tnum";
}

/* Sharp Badges (no border-radius) */
.badge-sharp {
    border-radius: 0;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.35em 0.65em;
}

/* Modern Tabs - Sharp & Minimal */
.nav-tabs-modern {
    border-bottom: 1px solid #e9ecef;
}

.nav-tabs-modern .nav-link {
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    padding: var(--space-4) 0;
    margin-right: 2rem;
    background: transparent;
    position: relative;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.nav-tabs-modern .nav-link:hover {
    color: var(--secondary-color);
}

.nav-tabs-modern .nav-link.active {
    color: var(--secondary-color);
}

.nav-tabs-modern .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
}


/*countdown*/
.gh-count-down {
    display: flex;
    direction: ltr;
}

.gh-count-down .countdown-item {
    padding: 4px 6px;
    background: var(--primary-color);
    color: var(--primary-dark);
    border-radius: 3px;
    margin: 0 3px;
    min-width: 28px;
    font-size: 13px;
}

.gh-count-down-lg .countdown-item {
    padding: 6px 10px;
    font-size: 16px;
}

/*countdown-box*/
.gh-count-down-box {
    display: flex;
    direction: ltr;
}

.gh-count-down-box .countdown-item {
    padding: 7px;
    color: var(--primary-color);
    border-radius: 3px;
    margin: 0 3px;
    min-width: 52px;
    font-size: 16px;
    font-weight: 700;
}

.gh-count-down-box .countdown-name {
    color: var(--primary-dark);
    font-size: 8px;
    font-weight: 400;
    text-transform: uppercase;
}

.gh-count-down-box .countdown-separator {
    color: var(--white);
    font-size: 14px;
}

/* Countdown Circle */
.gh-count-down-circle {
    display: flex;
    justify-content: center;
    min-height: 100%;
    background: var(--white);
    padding: var(--space-4);
    box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.16);
}

.gh-count-down-circle #time {
    display: flex;
}

.gh-count-down-circle #time .circle {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gh-count-down-circle #time .circle svg {
    position: relative;
    width: 70px;
    height: 70px;
    transform: rotate(270deg);
}

.gh-count-down-circle #time .circle svg circle {
    width: 100%;
    height: 100%;
    fill: transparent;
    stroke-width: 1;
    stroke: #f7f2f2;
    stroke-linecap: round;
    transform: translate(5px, 5px);
}

.gh-count-down-circle #time .circle svg circle:nth-child(2) {
    stroke: var(--primary-color);
    stroke-width: 2;
    stroke-dasharray: 190;
    stroke-dashoffset: 190;
}

.gh-count-down-circle #time div {
    position: absolute;
    text-align: center;
    font-weight: 700;
    color: var(--dark);
    font-size: 14px;
}

.gh-count-down-circle #time div span {
    position: absolute;
    transform: translateX(-50%) translateY(-10%);
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* === SKIP LINK (Accessibility) === */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.75rem var(--space-6);
    border-radius: var(--radius-full);
    z-index: 9999;
    font-weight: 600;
    text-decoration: none;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-4);
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* === FOCUS STATES (Accessibility) === */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.15);
}

/* === GLASSMORPHISM === */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
}

/* === KEYFRAME ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

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

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

@keyframes float-slow {

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

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

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 10px rgba(25, 135, 84, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes bounce-subtle {

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

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

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes count-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* === ANIMATION CLASSES === */
.animate-fade-in {
    animation: fadeIn 0.6s var(--ease-out-expo) forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s var(--ease-out-expo) forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s var(--ease-out-expo) forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s var(--ease-out-expo) forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s var(--ease-out-expo) forwards;
}

.animate-scale-in {
    animation: scaleIn 0.5s var(--ease-out-expo) forwards;
}

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

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

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.animate-bounce-subtle {
    animation: bounce-subtle 2s ease-in-out infinite;
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
}

/* Animation Delays */
.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
}

.delay-700 {
    animation-delay: 700ms;
}

.delay-1000 {
    animation-delay: 1000ms;
}

/* Start Hidden for Animations */
.animate-on-load {
    opacity: 0;
}

/* === HERO SECTION ENHANCED === */
.hero-modern {
    position: relative;
    background: var(--hero-gradient);
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: var(--glow-gradient);
    pointer-events: none;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(25, 135, 84, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(32, 201, 151, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-floating-shape {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.hero-floating-shape-1 {
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float-slow 10s ease-in-out infinite;
}

.hero-floating-shape-2 {
    bottom: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: var(--primary-dark);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: float-slow 12s ease-in-out infinite reverse;
}

.hero-floating-leaf {
    position: absolute;
    color: var(--primary-color);
    opacity: 0.15;
    animation: float-slow 8s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-title-highlight {
    position: relative;
    display: inline-block;
    color: var(--primary-color);
}

.hero-title-highlight::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to right, rgba(25, 135, 84, 0.2), rgba(32, 201, 151, 0.2));
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: clamp(var(--space-4), 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.7;
}

.hero-image-container {
    position: relative;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(25, 135, 84, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image img {
    transition: transform var(--transition-slow);
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-badge {
    position: absolute;
    background: white;
    padding: var(--space-4) 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 4s ease-in-out infinite;
}

.hero-badge-icon {
    width: 48px;
    height: 48px;
    background: rgba(25, 135, 84, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: var(--space-6);
}

/* === STATS COUNTER === */
.stat-item {
    text-align: center;
    padding: var(--space-4);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
    font-feature-settings: "tnum";
}

.stat-number.counting {
    animation: count-up 0.6s var(--ease-out-expo) forwards;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: var(--space-2);
}

/* === BUTTONS ENHANCED === */
.btn-gradient {
    background: var(--primary-gradient);
    background-size: 200% 200%;
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.btn-gradient:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(25, 135, 84, 0.3);
    color: white;
}

.btn-gradient::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-gradient:active::after {
    width: 300px;
    height: 300px;
}

.btn-glow {
    box-shadow: 0 0 20px rgba(25, 135, 84, 0.4);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(25, 135, 84, 0.6);
}

/* === CATEGORY CARDS ENHANCED === */
.category-card-modern {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
    cursor: pointer;
}

.category-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(25, 135, 84, 0.2);
}

.category-card-modern .icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all var(--transition-base);
}

.category-card-modern:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.category-card-modern .category-count {
    background: rgba(25, 135, 84, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

/* === TRUST BADGES ENHANCED === */
.trust-badge {
    text-align: center;
    padding: var(--space-6) var(--space-4);
    transition: all var(--transition-base);
}

.trust-badge:hover {
    transform: translateY(-5px);
}

.trust-badge-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1) 0%, rgba(32, 201, 151, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--space-6);
    color: var(--primary-color);
    transition: all var(--transition-base);
}

.trust-badge:hover .trust-badge-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* === SECTION HEADERS === */
.section-header-modern {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--dark);
    margin-bottom: var(--space-4);
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    margin: 0 auto;
}

/* === TESTIMONIAL CARDS === */
.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-4);
    right: var(--space-6);
    font-size: 4rem;
    font-family: Georgia, serif;
    color: rgba(25, 135, 84, 0.1);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

/* === NEWSLETTER SECTION === */
.newsletter-modern {
    position: relative;
    background: var(--primary-gradient);
    background-size: 200% 200%;
    animation: gradient-shift 10s ease infinite;
    overflow: hidden;
}

.newsletter-pattern {
    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='%23ffffff' 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.5;
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-input {
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.newsletter-input:focus {
    border-color: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

/* === LOADING SKELETON === */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-text {
    height: var(--space-4);
    margin-bottom: var(--space-2);
}

.skeleton-title {
    height: var(--space-6);
    width: 60%;
    margin-bottom: var(--space-4);
}

.skeleton-image {
    height: 200px;
    width: 100%;
}

/* === UTILITY CLASSES === */
.hover-scale {
    transition: transform var(--transition-base);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-lift {
    transition: all var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hover-glow:hover {
    box-shadow: var(--shadow-glow);
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--primary-gradient);
}

.bg-gradient-hero {
    background: var(--hero-gradient);
}

.rounded-xl {
    border-radius: var(--radius-xl) !important;
}

.rounded-2xl {
    border-radius: 2rem !important;
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Within for Cards */
.card:focus-within {
    box-shadow: var(--shadow-lg);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #006644;
        --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .btn,
    .card,
    .nav-link {
        border: 2px solid currentColor;
    }
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 991px) {
    .hero-modern {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-floating-shape {
        display: none;
    }

    .hero-badge {
        position: relative;
        margin-top: var(--space-4);
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: var(--space-6);
    }

    .stat-number {
        font-size: 2rem;
    }
}