/* Custom Styles for Food Ecommerce */
:root {
    --primary-green: #2d8659;
    --accent-orange: #ff8c42;
    --warm-beige: #f5f3f0;
    --dark-green: #1a5937;
    --light-green: #4caf50;
    --golden-yellow: #ffc107;
    --fresh-mint: #e8f5e8;
    --text-dark: #2c3e50;
    --gradient-primary: linear-gradient(135deg, #2d8659 0%, #4caf50 100%);
    --gradient-accent: linear-gradient(135deg, #ff8c42 0%, #ffc107 100%);
    --shadow-soft: 0 4px 15px rgba(45, 134, 89, 0.1);
    --shadow-hover: 0 8px 25px rgba(45, 134, 89, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--warm-beige);
    overflow-x: hidden;
}

/* BEAUTIFUL NAVBAR DESIGN */
.navbar {
    background: var(--gradient-primary) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1000;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: -1;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-hover);
}

/* STUNNING LOGO DESIGN */
.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover::before {
    opacity: 1;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    color: var(--golden-yellow) !important;
}

.navbar-brand i {
    font-size: 2rem;
    margin-right: 0.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: leafGlow 2s ease-in-out infinite alternate;
}

@keyframes leafGlow {
    0% {
        filter: brightness(1);
        transform: scale(1);
    }
    100% {
        filter: brightness(1.2);
        transform: scale(1.05);
    }
}

.logo-container {
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
    position: relative;
}

.logo-container i {
    position: relative;
    z-index: 2;
}

.logo-accent {
    position: absolute;
    left: 1rem;
    animation: bounce 2s ease-in-out infinite;
    color: var(--accent-orange) !important;
    font-size: 1.2rem !important;
}

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

.brand-text {
    background: linear-gradient(45deg, #ffffff 0%, var(--golden-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.tagline {
    font-size: 0.6rem;
    color: var(--golden-yellow) !important;
    font-weight: 400;
    opacity: 0.9;
    margin-top: -0.2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: none !important;
    -webkit-text-fill-color: var(--golden-yellow) !important;
}

/* NAVIGATION LINKS */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.2rem;
    padding: 0.5rem 0.8rem !important;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* Ensure consistent spacing for all nav items */
.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    margin: 0 0.1rem;
}

/* Specific adjustment for longer text like 'Community Requests' */
.navbar-nav .nav-item .nav-link {
    text-align: center;
    min-width: fit-content;
}

.navbar-nav .nav-link::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: left 0.5s;
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--golden-yellow) !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.navbar-nav .nav-link.active {
    background: var(--gradient-accent);
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

/* DROPDOWN MENU */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 134, 89, 0.1);
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    margin-top: 0.5rem;
    animation: dropdownSlide 0.3s ease-out;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin: 0.25rem 0.5rem;
}

.dropdown-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(5px);
}

/* JOIN FREE BUTTON */
.nav-link.btn-success {
    background: var(--gradient-accent) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 0.5rem 1.5rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3) !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 140, 66, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
    }
}

.nav-link.btn-success:hover {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4) !important;
}

/* MAIN CONTENT SPACING */
.main-content {
    padding-top: 100px;
    min-height: calc(100vh - 200px);
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, rgba(45, 134, 89, 0.8) 0%, rgba(76, 175, 80, 0.8) 100%), url('/images/hero-bg.jpg') no-repeat center center/cover;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 193, 7, 0.2) 0%, transparent 50%);
    animation: heroGlow 4s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* CARDS AND PRODUCTS */
.card {
    border: none;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* BUTTONS */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-success {
    background: var(--gradient-accent);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* FOOTER */
.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer h5, .footer h6 {
    color: var(--golden-yellow);
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--golden-yellow);
    transform: translateX(5px);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.product-image {
    animation: float 3s ease-in-out infinite;
}

/* ENHANCED HERO SECTION */
.hero {
    background: linear-gradient(135deg, 
        rgba(45, 134, 89, 0.9) 0%, 
        rgba(76, 175, 80, 0.8) 50%, 
        rgba(255, 193, 7, 0.3) 100%), 
        url('/images/hero-bg.jpg') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(45, 134, 89, 0.1) 0%, 
        rgba(255, 193, 7, 0.1) 25%, 
        rgba(76, 175, 80, 0.1) 50%, 
        rgba(255, 140, 66, 0.1) 75%, 
        rgba(45, 134, 89, 0.1) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: heroFadeIn 1.5s ease-out;
}

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

.hero-title {
    animation: titleSlide 1s ease-out 0.5s both;
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    animation: subtitleSlide 1s ease-out 0.8s both;
}

@keyframes subtitleSlide {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-btn-primary {
    animation: buttonBounce 1s ease-out 1.2s both;
}

.hero-btn-secondary {
    animation: buttonBounce 1s ease-out 1.4s both;
}

@keyframes buttonBounce {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    50% {
        transform: translateY(-5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-chevron {
    width: 30px;
    height: 30px;
    border-right: 3px solid rgba(255, 255, 255, 0.8);
    border-bottom: 3px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
    animation: chevronMove 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes chevronMove {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(5px); }
}

/* SECTION TITLES */
.section-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

/* MISSION SECTION */
.mission {
    background: linear-gradient(135deg, 
        rgba(245, 243, 240, 0.9) 0%, 
        rgba(255, 255, 255, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(45, 134, 89, 0.1) 0%, transparent 50%);
    animation: missionGlow 8s ease-in-out infinite alternate;
}

@keyframes missionGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

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

.mission-stats {
    margin-top: 3rem;
}

.stat-item {
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
    animation: statFloat 4s ease-in-out infinite;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item:nth-child(1) { animation-delay: 0s; }
.stat-item:nth-child(2) { animation-delay: 0.5s; }
.stat-item:nth-child(3) { animation-delay: 1s; }

@keyframes statFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ROADMAP STYLES */
.roadmap-container {
    position: relative;
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

/* Path Choice Styles */
.path-choice {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 243, 240, 0.95) 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.path-option {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.divider {
    font-weight: 700;
    color: var(--accent-orange);
    font-size: 1.2rem;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 2px;
    background: var(--accent-orange);
    transform: translateY(-50%);
}

.divider::before {
    right: 65%;
}

.divider::after {
    left: 65%;
}

/* Modern Choice Styles */
.modern-choice {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 243, 240, 0.95) 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    max-width: 450px;
    margin: 0 auto;
}

.choice-options {
    margin-top: 1rem;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.option-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

.option-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.option-text {
    flex: 1;
}

.option-text h6 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.option-text p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.option-divider {
    text-align: center;
    margin: 1rem 0;
    position: relative;
}

.option-divider span {
    background: var(--accent-orange);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Roadmap Arrow */
.roadmap-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
}

.roadmap-arrow i {
    font-size: 3rem;
    color: var(--accent-orange);
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Delivery Circle */
.delivery-circle {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--golden-yellow) 100%) !important;
}

.delivery-description {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.delivery-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Better spacing for roadmap */
.roadmap-steps.g-4 {
    gap: 1.5rem !important;
}

.roadmap-node.h-100 {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.roadmap-node.h-100 .node-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.roadmap-arrow {
    min-height: auto;
    padding: 2rem 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .roadmap-arrow {
        display: none;
    }
    
    .modern-choice {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .roadmap-step[data-step="2"] {
        margin-top: 2rem;
    }
    
    .roadmap-steps.g-4 {
        gap: 2rem !important;
    }
}

.roadmap-line {
    position: absolute;
    top: 40px; /* Align with the center of the circles */
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-green) 0%, 
        var(--light-green) 50%, 
        var(--accent-orange) 100%);
    border-radius: 2px;
    z-index: 1;
    animation: roadExpand 3s ease-out;
}

@keyframes roadExpand {
    from { width: 0; left: 50%; }
    to { width: 80%; left: 10%; }
}

.roadmap-steps {
    position: relative;
    z-index: 2;
}

.roadmap-step {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.roadmap-step.animated {
    opacity: 1;
    transform: translateY(0);
}

.roadmap-step:nth-child(1).animated {
    transition-delay: 0.2s;
}

.roadmap-step:nth-child(2).animated {
    transition-delay: 0.4s;
}

.roadmap-step:nth-child(3).animated {
    transition-delay: 0.6s;
}

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

.roadmap-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.node-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(45, 134, 89, 0.3);
    transition: all 0.3s ease;
    animation: nodeGlow 3s ease-in-out infinite alternate;
    position: relative;
    z-index: 3;
}

.node-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(45, 134, 89, 0.4);
}

.roadmap-step:nth-child(2) .node-circle {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--golden-yellow) 100%);
    animation-delay: 0.5s;
}

.roadmap-step:nth-child(3) .node-circle {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-green) 100%);
    animation-delay: 1s;
}

@keyframes nodeGlow {
    0% { box-shadow: 0 8px 25px rgba(45, 134, 89, 0.3); }
    100% { box-shadow: 0 12px 35px rgba(45, 134, 89, 0.5); }
}

.node-circle i {
    font-size: 2rem;
    color: white;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.node-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
    max-width: 300px;
    position: relative;
    z-index: 2;
}

.node-content:hover {
    transform: translateY(-5px);
}

.node-content h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.node-content p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
}

/* PRE-LAUNCH OFFER */
.pre-launch-offer {
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.1) 0%, 
        rgba(255, 140, 66, 0.1) 50%, 
        rgba(45, 134, 89, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.pre-launch-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 193, 7, 0.1) 50%, 
        transparent 100%);
    animation: offerShimmer 4s linear infinite;
}

@keyframes offerShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

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

.offer-badge {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.feature-highlight {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
    animation: featureFloat 3s ease-in-out infinite;
}

.feature-highlight:hover {
    transform: translateY(-5px);
}

.feature-highlight:nth-child(1) { animation-delay: 0s; }
.feature-highlight:nth-child(2) { animation-delay: 0.5s; }
.feature-highlight:nth-child(3) { animation-delay: 1s; }

@keyframes featureFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.feature-highlight i {
    font-size: 2.5rem;
    animation: iconRotate 4s linear infinite;
}

@keyframes iconRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.offer-cta {
    background: var(--gradient-accent);
    border: none;
    animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 8px 25px rgba(255, 140, 66, 0.5);
        transform: scale(1.02);
    }
}

/* PRODUCT CARDS */
.product-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: cardFloat 6s ease-in-out infinite;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(45, 134, 89, 0.2);
}

.product-card:nth-child(1) { animation-delay: 0s; }
.product-card:nth-child(2) { animation-delay: 0.5s; }
.product-card:nth-child(3) { animation-delay: 1s; }
.product-card:nth-child(4) { animation-delay: 1.5s; }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
    animation: badgeGlow 2s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.price-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
}

.original-price {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: var(--gradient-accent);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-product {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-product:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
}

/* PRODUCT PLACEHOLDER */
.product-placeholder {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fresh-mint) 0%, var(--warm-beige) 100%);
    border-radius: 15px;
    margin: 1rem;
    animation: placeholderFloat 3s ease-in-out infinite;
}

/* CART SYSTEM STYLES */
.cart-nav-item {
    position: relative;
}

.cart-toggle {
    position: relative;
    cursor: pointer;
}

/* Cart Badge */
#cartCount, .cart-count {
    position: absolute;
    top: -12px;
    right: -12px;
    background: var(--accent-orange);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 1000;
}

/* Cart Dropdown */
.cart-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    z-index: 9999;
    min-width: 350px;
    animation: dropdownSlide 0.3s ease-out;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-dropdown .card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: none;
    max-height: 500px;
    overflow: hidden;
}

.cart-dropdown .card-body {
    max-height: 300px;
    overflow-y: auto;
}

.cart-dropdown .cart-item {
    transition: background-color 0.2s ease;
}

.cart-dropdown .cart-item:hover {
    background-color: #f8f9fa;
}

.cart-dropdown .quantity-controls button {
    width: 30px;
    height: 30px;
    padding: 0;
    font-size: 14px;
    line-height: 1;
}

/* Cart Alert Success */
.cart-alert-success {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes placeholderFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.product-placeholder i {
    animation: placeholderPulse 2s ease-in-out infinite;
}

@keyframes placeholderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.product-placeholder p {
    font-size: 0.9rem;
    font-weight: 500;
}

/* TESTIMONIALS */
.testimonials {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(245, 243, 240, 0.9) 100%);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(76, 175, 80, 0.1) 0%, transparent 50%);
    animation: testimonialGlow 10s ease-in-out infinite alternate;
}

@keyframes testimonialGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
    animation: testimonialSlide 1s ease-out;
    position: relative;
    z-index: 2;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-card:nth-child(1) { animation-delay: 0.2s; }
.testimonial-card:nth-child(2) { animation-delay: 0.4s; }
.testimonial-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes testimonialSlide {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-green);
    animation: avatarGlow 3s ease-in-out infinite alternate;
    object-fit: cover;
}

/* Placeholder avatar for testimonials */
.author-avatar.bg-light {
    background: linear-gradient(135deg, var(--fresh-mint) 0%, var(--warm-beige) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-green);
}

.author-avatar.bg-light i {
    font-size: 1.5rem;
    color: var(--primary-green);
    animation: placeholderPulse 2s ease-in-out infinite;
}

@keyframes avatarGlow {
    0% { border-color: var(--primary-green); }
    100% { border-color: var(--accent-orange); }
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.author-location {
    color: #666;
    font-size: 0.9rem;
}

/* FUTURE SERVICES */
.future-service {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
    animation: serviceFloat 5s ease-in-out infinite;
}

.future-service:hover {
    transform: translateY(-5px);
}

.future-service:nth-child(1) { animation-delay: 0s; }
.future-service:nth-child(2) { animation-delay: 0.5s; }
.future-service:nth-child(3) { animation-delay: 1s; }
.future-service:nth-child(4) { animation-delay: 1.5s; }

@keyframes serviceFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.service-icon {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* REQUEST CARDS */
.request-card {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    animation: requestSlide 0.8s ease-out;
}

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

.request-card:nth-child(1) { animation-delay: 0.2s; }
.request-card:nth-child(2) { animation-delay: 0.4s; }
.request-card:nth-child(3) { animation-delay: 0.6s; }

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

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .main-content {
        padding-top: 80px;
    }
    
    .roadmap-line {
        display: none;
    }
    
    .node-circle {
        width: 60px;
        height: 60px;
    }
    
    .node-circle i {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .roadmap-step {
        margin-bottom: 2rem;
    }
}

/* LOADING ANIMATION */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Cart Badge Override - Force Above Navbar */
.cart-count {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    min-width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    font-size: 11px !important;
    text-align: center !important;
    z-index: 999999 !important;
    background-color: #dc3545 !important;
    color: white !important;
    border-radius: 50% !important;
}

.cart-count[style*="display: none"] {
    display: inline-block !important;
}

/* Mobile Fix for Product Page */
@media (max-width: 767px) {
    section.mt-5 {
        position: relative;
        z-index: 1;
        margin-top: 2rem !important;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .product-image-container {
        margin-bottom: 2rem;
    }
    
    /* Ensure content is visible */
    .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    /* Fix any overflow issues */
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }
}

/* Additional Mobile Fixes for Product Pages */
@media (max-width: 576px) {
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    /* Fix button group on mobile */
    .input-group {
        flex-wrap: nowrap;
    }
    
    .d-flex.gap-2 {
        flex-direction: column;
    }
    
    .d-flex.gap-2 button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Mobile-specific product page fixes */
@media (max-width: 767px) {
    #products-container {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -10px;  /* Compensate for card padding */
    }

    .product-card {
        padding: 0 10px;
        margin-bottom: 20px;
        width: 100%;
    }

    .card {
        height: auto !important;
        margin-bottom: 0;
    }

    .card-body {
        padding: 1rem;
    }

    /* Ensure buttons stack properly on mobile */
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 10px;
    }

    .view-details-btn,
    .pre-order-btn {
        width: 100%;
        margin: 5px 0;
    }

    /* Fix search bar on mobile */
    .search-container {
        padding: 0 15px;
    }

    #product-search-bar {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    /* Ensure content is visible */
    section.mt-5 {
        margin-top: 2rem !important;
        overflow: visible;
    }

    .container {
        overflow: visible;
    }

    /* Fix category filters scrolling */
    .category-filters {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .category-filters::-webkit-scrollbar {
        display: none;
    }

    .category-filters .btn {
        display: inline-block;
        margin-right: 8px;
    }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .product-card {
        transform: translateZ(0);
    }
    
    .card {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}
