/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #4CAF50;
    --primary-green-dark: #388E3C;
    --primary-orange: #FF7D33;
    --primary-orange-dark: #E66A1A;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: white;
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding-top: 0px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: box-shadow 0.3s, background 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary-green);
    transition: color 0.3s ease;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--primary-green);
    line-height: 1;
    opacity: 0.8;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav-links > li {
    position: relative;
}

.nav-links a,
.dropdown-label {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--gray-700);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 80%;
}

.nav-links a:hover,
.dropdown-label:hover {
    color: var(--primary-orange);
    background: var(--gray-50);
}

.nav-links a.active {
    color: var(--primary-orange);
    font-weight: 600;
}

.dropdown-label {
    color: var(--gray-700);
}

/* Dropdown */
.nav-links .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 192px;
    padding: 0.5rem 0;
    display: none;
    z-index: 100;
}

.nav-links li:hover .dropdown {
    display: block;
}

.dropdown a {
    padding: 0.5rem 1rem;
    display: block;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-btn,
.cart-btn {
    padding: 0.5rem;
    font-size: 1.25rem;
    border-radius: 0.375rem;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--gray-600);
    transition: color 0.3s ease;
    position: relative;
}

.search-btn:hover,
.cart-btn:hover {
    color: var(--primary-orange);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-orange);
    color: white;
    font-size: 0.75rem;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 0.25rem;
    text-decoration: none;
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
}

.btn-ghost:hover {
    background: var(--gray-100);
}

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

.btn-primary:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-outline:hover {
    background: var(--gray-100);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

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

.btn-orange:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 125, 51, 0.3);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 2000;
}

.mobile-menu.open {
    display: block;
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary-green);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--gray-500);
}

.mobile-nav-links {
    padding: 1rem;
    flex: 1;
}

.mobile-nav-links a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
}

.mobile-nav-links a:hover {
    color: var(--primary-orange);
}

.mobile-menu-footer {
    padding: 1rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Footer */
.footer-green-border {
    height: 4px;
    background: var(--primary-green);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    padding: 3rem 1rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.75;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-700);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.post-date {
    color: var(--gray-500);
    font-size: 0.75rem;
}

.app-placeholder {
    text-align: center;
    padding: 2rem;
    background: var(--gray-100);
    border-radius: 0.5rem;
}

.app-placeholder span {
    font-size: 4rem;
}

.app-placeholder p {
    margin-top: 0.5rem;
}

.groups-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.groups-links a {
    color: var(--gray-700);
}

.groups-links a:hover {
    color: var(--primary-orange);
}

.groups-links span {
    color: var(--gray-400);
}

.no-groups {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.footer-copyright {
    border-top: 1px solid var(--gray-200);
    padding: 1rem;
}

.footer-copyright p {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    overflow: hidden;
    margin-top: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-size: cover;
    background-position: center 35%;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-slide-content-inner {
    max-width: 800px;
    padding: 2rem;
}

.hero-slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: slideUp 0.6s ease;
}

.hero-slide-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: slideUp 0.8s ease;
}

.hero-slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 3;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dot.active {
    background: white;
    transform: scale(1.2);
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
}

.hero-slider-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-btn.prev {
    left: 2rem;
}

.hero-slider-btn.next {
    right: 2rem;
}

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

/* Hero Section (legacy) */
.hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, #e8f5e9 100%);
    padding: 4rem 1rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.hero p {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cards */
.card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* Grid */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(1, 1fr);
}

/* Section */
.section {
    padding: 4rem 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    color: var(--gray-600);
    margin-bottom: 3rem;
    text-align: center;
    font-size: 1.125rem;
}

/* About Section */
.about-section {
    background: white;
}

.about-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.about-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--primary-orange);
}

/* Service Card */
.service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.service-card-image {
    width: 100%;
    height: 200px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-content {
    padding: 1.5rem;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.service-card-description {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.service-link {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding-bottom: 0.25rem;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

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

.service-link:hover {
    color: var(--primary-green);
}

/* How It Works */
.how-it-works-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.how-it-works-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.how-it-works-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.how-it-works-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.how-it-works-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: white;
    padding: 3rem 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 125, 51, 0.1);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

/* Stats */
.stat-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
}

.stat-label {
    color: var(--gray-500);
    font-size: 0.75rem;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 1rem;
}

.tab-btn {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--gray-100);
    color: var(--gray-700);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-green);
    color: white;
}

/* Activity Item */
.activity-item {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

.activity-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(4px);
}

.activity-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 1rem;
}

.activity-description {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.activity-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-400);
    flex-wrap: wrap;
}

/* Nutritionist Card */
.nutritionist-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.nutritionist-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.nutritionist-image {
    width: 100%;
    height: 200px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.nutritionist-info {
    padding: 1.25rem;
}

.nutritionist-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
}

.nutritionist-title {
    color: var(--primary-green);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.nutritionist-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary-orange);
    font-size: 0.875rem;
}

.nutritionist-location {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.nutritionist-specializations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.75rem;
}

.badge {
    padding: 0.25rem 0.5rem;
    background: var(--gray-100);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: var(--gray-600);
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.product-image {
    width: 100%;
    height: 150px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.product-info {
    padding: 1rem;
}

.product-name {
    font-weight: 600;
    color: var(--gray-900);
}

.product-price {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.125rem;
    margin-top: 0.25rem;
}

.product-unit {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.product-vendor {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Meal Card */
.meal-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.meal-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.meal-name {
    font-weight: 600;
    color: var(--gray-900);
}

.meal-calories {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.meal-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

.meal-difficulty {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: var(--gray-100);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

/* Responsive */
@media (min-width: 640px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-slide-title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-slider {
        height: 85vh;
        min-height: 500px;
    }
    .hero-slide {
        height: 85vh;
        min-height: 500px;
    }
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }

    .nav-actions .btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .hero-slider-btn.prev {
        left: 0.5rem;
    }

    .hero-slider-btn.next {
        right: 0.5rem;
    }

    .hero-slide-title {
        font-size: 1.75rem;
    }

    .hero-slide-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Utility */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--gray-500);
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.p-4 {
    padding: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--gray-500);
}

.modal-body {
    padding: 1.5rem;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.progress-step {
    display: flex;
    align-items: center;
}

.progress-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.progress-circle.active {
    background: var(--primary-green);
    color: white;
}

.progress-circle.inactive {
    background: var(--gray-200);
    color: var(--gray-500);
}

.progress-line {
    flex: 1;
    height: 4px;
    margin: 0 0.5rem;
    border-radius: 2px;
}

.progress-line.active {
    background: var(--primary-green);
}

.progress-line.inactive {
    background: var(--gray-200);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1.5rem;
}

.progress-label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-avatar-btn:hover {
    background: var(--gray-200);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.dropdown-arrow {
    font-size: 0.625rem;
    color: var(--gray-500);
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    padding: 0.5rem 0;
    z-index: 100;
    border: 1px solid var(--gray-200);
}

.user-dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--gray-700);
    text-decoration: none;
    transition: background 0.3s ease;
}

.user-dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--primary-orange);
}

/* Article content styles */
.tab-content h3,
article h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #28a745;
    padding-bottom: 0.5rem;
    border-bottom: 2px dashed #e9f5e9;
}

.tab-content p,
article p {
    margin-bottom: 1.8em;
    line-height: 1.8;
}

.tab-content ul,
article ul {
    list-style: none;
    margin-left: 0;
    margin-bottom: 1.8em;
}

.tab-content ul li,
article ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.tab-content ul li::before,
article ul li::before {
    content: '•';
    color: var(--primary-green);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.tab-content strong,
article strong {
    font-weight: 600;
    color: var(--gray-900);
}

/* Styled Blockquotes for Articles */
article blockquote {
    background-color: #f8fff8;
    border-left: 5px solid #5cb85c;
    padding: 2.5rem;
    font-style: italic;
    color: #444;
    margin: 2.5rem 0;
    border-radius: 8px;
    position: relative;
    font-size: 1.1em;
}

article blockquote::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 4em;
    color: #d5f5d5;
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    line-height: 1;
}

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

/* Loading spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-200);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================
   UNIFIED DASHBOARD COVER STYLES
   ============================================ */

/* Base Cover Container */
.dashboard-cover-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    position: relative;
}

/* Cover Image */
.dashboard-cover {
    position: relative;
    height: 280px;
    background-size: cover;
    background-position: center;
    background-color: #2d3748;
}

/* Avatar Container */
.dashboard-avatar {
    position: absolute;
    bottom: -60px;
    left: 40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid white;
    background-size: cover;
    background-position: center;
    background-color: #f3f4f6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2;
}

/* Info Section */
.dashboard-info-header {
    padding: 2rem;
    padding-top: 80px;
    background: white;
}

.dashboard-info-header.with-avatar {
    padding-left: 200px;
}

/* Edit Profile Button */
.dashboard-edit-btn {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
}

.dashboard-edit-btn:hover {
    background: #f9fafb;
    border-color: #4CAF50;
    color: #4CAF50;
}

/* Cover Upload Button */
.cover-upload-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 3;
}

.cover-upload-btn:hover {
    background: rgba(0,0,0,0.8);
}

/* Avatar Upload Button */
.avatar-upload-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.avatar-upload-btn:hover {
    background: #388E3C;
    transform: scale(1.05);
}

/* Status Badge */
.dashboard-status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-approved { background: #dcfce7; color: #166534; }
.status-suspended { background: #fee2e2; color: #991b1b; }
.status-active { background: #dcfce7; color: #166534; }

/* Role Badge */
.role-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.role-vendor { background: #fce7f3; color: #9d174d; }
.role-delivery { background: #e0e7ff; color: #3730a3; }
.role-nutritionist { background: #dcfce7; color: #166534; }
.role-admin { background: #fef3c7; color: #92400e; }
.role-customer { background: #dbeafe; color: #1e40af; }

/* Dashboard Stats Grid */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.dashboard-stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dashboard-stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.dashboard-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #4CAF50;
}

.dashboard-stat-label {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Dashboard Tabs */
.dashboard-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    background: white;
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dashboard-tab {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s;
    display: inline-block;
}

.dashboard-tab:hover {
    background: #f3f4f6;
    color: #4CAF50;
}

.dashboard-tab.active {
    background: #4CAF50;
    color: white;
}

/* Dashboard Card */
.dashboard-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.dashboard-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e8f5e9;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-avatar {
        width: 100px;
        height: 100px;
        bottom: -50px;
        left: 20px;
    }
    
    .dashboard-info-header.with-avatar {
        padding-left: 140px;
        padding-top: 60px;
    }
    
    .dashboard-cover {
        height: 200px;
    }
    
    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MOBILE RESPONSIVENESS FIXES
   ============================================ */

/* Fix for navbar overlap on mobile */
@media (max-width: 767px) {
    main {
        padding-top: 60px;
    }
}

/* Hero slider mobile fixes */
@media (max-width: 767px) {
    .hero-slider {
        height: 70vh !important;
        min-height: 400px !important;
    }
    .hero-slide {
        height: 70vh !important;
        min-height: 400px !important;
    }
    .hero-slide-title {
        font-size: 1.5rem !important;
    }
    .hero-slide-content-inner {
        padding: 1rem !important;
        max-width: 100% !important;
    }
    .hero-slide-text {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 60vh !important;
        min-height: 350px !important;
    }
    .hero-slide {
        height: 60vh !important;
        min-height: 350px !important;
    }
    .hero-slide-title {
        font-size: 1.25rem !important;
    }
    .hero-slide-text {
        font-size: 0.85rem !important;
    }
}

/* Stats numbers on mobile */
@media (max-width: 767px) {
    .stat-number {
        font-size: 2rem !important;
    }
    .stats-container {
        gap: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr !important;
    }
}

/* CTA buttons on mobile */
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column !important;
        width: 100% !important;
    }
    .hero-buttons .btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Service card images on mobile - KEPT ORIGINAL HEIGHT */
/* No changes made to service-card-image height */

/* Product image on mobile */
@media (max-width: 480px) {
    .product-image {
        max-height: 140px !important;
    }
}

/* About image on mobile */
@media (max-width: 480px) {
    .about-image img {
        max-height: 220px !important;
    }
}

/* Grid responsive fixes */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr !important;
    }
    .grid-3 {
        grid-template-columns: 1fr !important;
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile menu width for very small phones */
@media (max-width: 360px) {
    .mobile-menu {
        width: 280px !important;
    }
}