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

/* Improve touch targets on mobile */
@media (max-width: 768px) {
    button, 
    .btn-primary, 
    .btn-secondary, 
    .btn-buy, 
    .btn-details,
    .nav-link,
    .filter-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    input, 
    select, 
    textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    /* Mobile scroll improvements */
    .filter-buttons {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .filter-buttons::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    /* Mobile button improvements */
    .btn-primary,
    .btn-secondary,
    .btn-buy,
    .btn-details {
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        -webkit-user-select: none;
    }
    
    /* Mobile card improvements */
    .product-card {
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        -webkit-user-select: none;
    }
}

:root {
    --primary-color: #FFD700; /* Golden yellow */
    --primary-dark: #FFC800; /* Darker golden yellow */
    --primary-light: #FFE44D; /* Lighter golden yellow */
    --secondary-color: #556B2F; /* Dark olive green */
    --accent-color: #FFD700; /* Golden yellow accent */
    --white: #FFFFFF;
    --gray-50: #2C2C2C;
    --gray-100: #424242;
    --gray-200: #616161;
    --gray-300: #757575;
    --gray-400: #9E9E9E;
    --gray-500: #BDBDBD;
    --gray-600: #E0E0E0;
    --gray-700: #EEEEEE;
    --gray-800: #F5F5F5;
    --gray-900: #FAFAFA;
    --success: #4CAF50;
    --error: #F44336;
    --warning: #FF9800;
    --info: #2196F3;
    --shadow-sm: 0 2px 4px rgba(255, 215, 0, 0.1);
    --shadow: 0 4px 8px rgba(255, 215, 0, 0.15);
    --shadow-md: 0 8px 16px rgba(255, 215, 0, 0.2);
    --shadow-lg: 0 16px 32px rgba(255, 215, 0, 0.25);
    --shadow-xl: 0 24px 48px rgba(255, 215, 0, 0.3);
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--gray-600);
    background-color: var(--gray-100);
    font-size: 16px;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

/* Header and Navigation */
.header {
    background: var(--gray-100);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.nav-logo a {
    display: flex;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-logo i {
    margin-right: 0.75rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: transparent;
}

.nav-link {
    color: var(--gray-600);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--gray-600);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23FFD700" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23FFD700" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23FFD700" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.6;
}

/* Search Bar */
.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 2px solid transparent;
    transition: var(--transition);
}

.search-form:focus-within {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 0 0 4px rgba(255, 215, 0, 0.1);
}

.search-input-group {
    display: flex;
    flex: 1;
}

.search-input {
    flex: 1;
    padding: 1.25rem 2rem;
    border: none;
    outline: none;
    font-size: 1.125rem;
    font-family: 'Poppins', sans-serif;
    color: var(--gray-800);
}

.search-input::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

.search-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1.25rem 2rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1.125rem;
    min-width: 120px;
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Filter Section */
.filter-section {
    padding: 3rem 0;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.filter-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 1.125rem;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--gray-200);
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--gray-50);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: stretch;
}

.product-card {
    background: var(--gray-200);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-300);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--gray-200);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--gray-50);
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
}

.product-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-weight: 600;
    line-height: 1.3;
}

.product-description {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
}

.product-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: auto;
    padding-top: 1rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-buy,
.btn-details,
.btn-wishlist {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--gray-50);
    transform: translateY(-2px);
}

.btn-buy {
    background: var(--success);
    color: var(--white);
    flex: 1;
    justify-content: center;
    box-shadow: var(--shadow-md);
    font-weight: 700;
}

.btn-buy:hover {
    background: #388E3C;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-wishlist {
    background: var(--primary-color);
    color: var(--gray-50);
    border: 2px solid var(--primary-color);
    font-weight: 700;
    box-shadow: var(--shadow-md);
    flex: 1;
    justify-content: center;
}

.btn-wishlist:hover {
    background: var(--primary-dark);
    color: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-wishlist.active {
    background: var(--primary-dark);
    color: var(--gray-50);
    box-shadow: var(--shadow-lg);
}

.btn-details {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
}

.btn-details:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* No Products */
.no-products {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--gray-600);
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    margin: 2rem 0;
}

.no-products i {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    opacity: 0.7;
}

.no-products h3 {
    color: var(--gray-800);
    margin-bottom: 1rem;
    font-weight: 600;
}

.no-products p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23FFD700" opacity="0.15"/><circle cx="75" cy="75" r="1" fill="%23FFD700" opacity="0.15"/><circle cx="50" cy="10" r="0.5" fill="%23FFD700" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.page-header p {
    font-size: 1.375rem;
    opacity: 0.95;
    margin: 0;
    font-weight: 400;
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

/* Advanced Filter Section */
.advanced-filter-section {
    background: var(--gray-100);
    padding: 4rem 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
}

.advanced-filter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.6;
}

.advanced-filter-form {
    background: var(--gray-100);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--gray-200);
    position: relative;
    backdrop-filter: blur(10px);
}

.advanced-filter-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
}

.advanced-filter-form::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    border-radius: var(--border-radius-xl);
    z-index: -1;
    opacity: 0.3;
    filter: blur(20px);
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.filter-group label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.filter-group:focus-within label::after {
    width: 100%;
}

.filter-group input,
.filter-group select {
    padding: 1.25rem 1.5rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background: var(--gray-200);
    color: var(--gray-900);
    font-weight: 500;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.15);
    transform: translateY(-3px);
    background: var(--white);
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--gray-50);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.filter-buttons .btn-primary::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: var(--transition);
}

.filter-buttons .btn-primary:hover::before {
    left: 100%;
}

.filter-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.filter-buttons .btn-secondary {
    background: var(--gray-300);
    color: var(--gray-700);
    border: 2px solid var(--gray-400);
    padding: 1rem 2rem;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.filter-buttons .btn-secondary:hover {
    background: var(--gray-400);
    color: var(--gray-800);
    border-color: var(--gray-500);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Products Header */
.products-header {
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.results-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 1.125rem;
    color: var(--gray-800);
    font-weight: 600;
    padding: 2rem;
    background: var(--gray-100);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.active-filters {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-300);
}

.active-filters::before {
    content: 'Active filters:';
    font-weight: 700;
    color: var(--gray-700);
    margin-right: 0.5rem;
}

.filter-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--gray-50);
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.filter-tag::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: var(--transition);
}

.filter-tag:hover::before {
    left: 100%;
}

.filter-tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Product Category Badge */
.product-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

/* Profile Styles */
.profile-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--gray-300);
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
}

.profile-header::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    border-radius: var(--border-radius-xl);
    z-index: -1;
    opacity: 0.1;
    filter: blur(20px);
}

.profile-avatar {
    position: relative;
    z-index: 2;
}

.profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    background: var(--gray-300);
}

.profile-avatar i {
    font-size: 5rem;
    color: var(--primary-color);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    background: var(--gray-300);
    box-shadow: var(--shadow-lg);
}

.profile-info {
    position: relative;
    z-index: 2;
    flex: 1;
}

.profile-info h1 {
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-info p {
    margin-bottom: 1.5rem;
    color: var(--gray-700);
    font-size: 1.125rem;
    font-weight: 500;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gray-300);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.profile-content {
    display: grid;
    gap: 2rem;
}

.profile-forms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.profile-form-section {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--gray-300);
    position: relative;
    overflow: hidden;
}

.profile-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
}

.profile-form-section::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    border-radius: var(--border-radius-xl);
    z-index: -1;
    opacity: 0.05;
    filter: blur(20px);
}

.profile-form-section h2 {
    margin-bottom: 2rem;
    color: var(--gray-900);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.profile-form .form-group {
    margin-bottom: 2rem;
}

.profile-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.profile-form label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.profile-form .form-group:focus-within label::after {
    width: 100%;
}

.profile-form input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--gray-200);
    color: var(--gray-900);
    font-weight: 500;
}

.profile-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.15);
    transform: translateY(-2px);
    background: var(--white);
}

.profile-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.profile-activity {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--gray-300);
    position: relative;
    overflow: hidden;
}

.profile-activity::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
}

.profile-activity h2 {
    margin-bottom: 2rem;
    color: var(--gray-900);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    position: relative;
}

/* Profile Role Badge */
.role-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: var(--transition);
}

.role-admin {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--gray-50);
    border-color: var(--primary-color);
}

.role-user {
    background: linear-gradient(135deg, var(--secondary-color), #6B8E23);
    color: var(--white);
    border-color: var(--secondary-color);
}

.role-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}



.no-activity {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--gray-500);
}

.no-activity i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gray-300);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-200);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--gray-300);
    transition: var(--transition);
    margin-bottom: 1rem;
}

.activity-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.activity-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--gray-400);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.activity-item:hover .activity-image img {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.activity-info h4 {
    margin: 0 0 0.25rem 0;
    color: var(--gray-900);
    font-size: 1rem;
}

.activity-info p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.875rem;
}

    .activity-action {
        margin-left: auto;
    }
    
    .activity-footer {
        margin-top: 1.5rem;
        text-align: center;
        padding-top: 1.5rem;
        border-top: 1px solid var(--gray-200);
    }
    
    /* Breadcrumb */
    .breadcrumb {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 2rem;
        padding: 1rem 0;
        font-size: 0.875rem;
        color: var(--gray-600);
    }
    
    .breadcrumb a {
        color: var(--primary-color);
        transition: var(--transition);
    }
    
    .breadcrumb a:hover {
        color: var(--primary-dark);
    }
    
    .breadcrumb i {
        font-size: 0.75rem;
        color: var(--gray-400);
    }
    
    /* Product Details */
    .product-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        margin-bottom: 4rem;
    }
    
    .product-gallery {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-image {
        border-radius: var(--border-radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--gray-100);
    }
    
    .main-image img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        transition: var(--transition);
    }
    
    .image-thumbnails {
        display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .thumbnail {
        flex-shrink: 0;
        width: 80px;
        height: 80px;
        border-radius: var(--border-radius);
        overflow: hidden;
        cursor: pointer;
        border: 2px solid transparent;
        transition: var(--transition);
    }
    
    .thumbnail.active {
        border-color: var(--primary-color);
    }
    
    .thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .product-info {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .product-header h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: var(--gray-900);
    }
    
    .product-category-badge {
        display: inline-block;
        background: var(--secondary-color);
        color: var(--white);
        padding: 0.5rem 1rem;
        border-radius: var(--border-radius);
        font-size: 0.875rem;
        font-weight: 500;
    }
    
    .product-meta {
        display: flex;
        align-items: center;
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .product-price-large {
        display: flex;
        align-items: baseline;
        gap: 0.25rem;
    }
    
    .product-price-large .currency {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--gray-600);
    }
    
    .product-price-large .amount {
        font-size: 3rem;
        font-weight: 700;
        color: var(--primary-color);
    }
    
    .product-rating {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .stars {
        display: flex;
        gap: 0.25rem;
        color: #fbbf24;
    }
    
    .rating-text {
        font-weight: 600;
        color: var(--gray-700);
    }
    
    .review-count {
        color: var(--gray-500);
        font-size: 0.875rem;
    }
    
    .product-description-full h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        color: var(--gray-900);
    }
    
    .product-description-full p {
        line-height: 1.7;
        color: var(--gray-600);
    }
    
    .product-features h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        color: var(--gray-900);
    }
    
    .product-features ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .product-features li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: var(--gray-600);
    }
    
    .product-features i {
        color: var(--success);
        font-size: 1rem;
    }
    
    .product-actions {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn-buy-large {
        background: var(--success);
        color: var(--white);
        padding: 1rem 2rem;
        font-size: 1.125rem;
        font-weight: 600;
        border-radius: var(--border-radius-lg);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        transition: var(--transition);
        flex: 1;
        justify-content: center;
    }
    
    .btn-buy-large:hover {
        background: #059669;
        color: var(--white);
        transform: translateY(-2px);
    }
    
    .btn-favorite {
        background: var(--gray-100);
        color: var(--gray-600);
        border: 1px solid var(--gray-200);
        padding: 1rem 1.5rem;
        border-radius: var(--border-radius-lg);
        cursor: pointer;
        transition: var(--transition);
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        font-weight: 500;
    }
    
    .btn-favorite:hover,
    .btn-favorite.active {
        background: var(--accent-color);
        color: var(--white);
        border-color: var(--accent-color);
    }
    
    .btn-share {
        background: var(--gray-100);
        color: var(--gray-600);
        border: 1px solid var(--gray-200);
        padding: 1rem 1.5rem;
        border-radius: var(--border-radius-lg);
        cursor: pointer;
        transition: var(--transition);
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        font-weight: 500;
    }
    
    .btn-share:hover {
        background: var(--primary-color);
        color: var(--white);
        border-color: var(--primary-color);
    }
    
    /* Product Tabs */
    .product-tabs {
        background: var(--gray-200);
        border-radius: var(--border-radius-lg);
        box-shadow: var(--shadow);
        border: 1px solid var(--gray-300);
        margin-bottom: 4rem;
    }
    
    .tab-buttons {
        display: flex;
        border-bottom: 1px solid var(--gray-300);
    }
    
    .tab-btn {
        background: none;
        border: none;
        padding: 1.5rem 2rem;
        cursor: pointer;
        font-weight: 500;
        color: var(--gray-800);
        transition: var(--transition);
        border-bottom: 3px solid transparent;
    }
    
    .tab-btn:hover {
        color: var(--primary-color);
        background: var(--gray-300);
    }
    
    .tab-btn.active {
        color: var(--primary-color);
        border-bottom-color: var(--primary-color);
        background: var(--gray-300);
    }
    
    .tab-content {
        padding: 2rem;
        background: var(--gray-200);
    }
    
    .tab-pane {
        display: none;
    }
    
    .tab-pane.active {
        display: block;
    }
    
    /* Specifications */
    .specifications-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .spec-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        background: var(--gray-300);
        border-radius: var(--border-radius);
        border: 1px solid var(--gray-400);
    }
    
    .spec-label {
        font-weight: 600;
        color: var(--gray-900);
    }
    
    .spec-value {
        color: var(--gray-800);
    }
    
    /* Reviews */
    .reviews-section {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .no-reviews {
        text-align: center;
        padding: 3rem 2rem;
        color: var(--gray-700);
    }
    
    .no-reviews i {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: var(--gray-500);
    }
    
    .reviews-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .review-item {
        padding: 1.5rem;
        background: var(--gray-300);
        border-radius: var(--border-radius-lg);
        border: 1px solid var(--gray-400);
    }
    
    .review-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .reviewer-info {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .reviewer-info i {
        font-size: 2rem;
        color: var(--gray-600);
    }
    
    .reviewer-name {
        font-weight: 600;
        color: var(--gray-900);
    }
    
    .review-rating {
        display: flex;
        gap: 0.25rem;
        align-items: center;
    }
    
    .review-rating .fa-star {
        font-size: 0.875rem;
        color: var(--gray-300);
    }
    
    .review-rating .star-filled {
        color: #fbbf24;
    }
    
    .review-rating .star-empty {
        color: var(--gray-300);
    }
    
    .review-date {
        color: var(--gray-700);
        font-size: 0.875rem;
    }
    
    .review-content p {
        margin: 0;
        color: var(--gray-800);
        line-height: 1.6;
    }
    
    /* Shipping Info */
    .shipping-info h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        color: var(--gray-900);
    }
    
    .shipping-info ul {
        list-style: none;
        margin-bottom: 2rem;
    }
    
    .shipping-info li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
        color: var(--gray-800);
    }
    
    .shipping-info i {
        color: var(--primary-color);
        width: 20px;
    }
    
    /* Related Products */
    .related-products {
        margin-bottom: 4rem;
    }
    
    .related-products h2 {
        text-align: center;
        margin-bottom: 2rem;
        color: var(--gray-900);
    }
    
    .related-products .product-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .related-products .product-content {
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    
    .related-products .product-actions {
        margin-top: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 1rem;
    }
    
    .related-products .btn-details {
        min-width: 120px;
        justify-content: center;
    }
    
    /* Wishlist Page */
    .empty-wishlist {
        text-align: center;
        padding: 4rem 2rem;
        background: var(--gray-200);
        border-radius: var(--border-radius-lg);
        margin: 2rem 0;
    }
    
    .empty-wishlist-icon {
        font-size: 4rem;
        color: var(--gray-400);
        margin-bottom: 1rem;
    }
    
    .empty-wishlist h3 {
        color: var(--gray-700);
        margin-bottom: 0.5rem;
    }
    
    .empty-wishlist p {
        color: var(--gray-600);
        margin-bottom: 2rem;
    }
    
    .wishlist-stats {
        margin-bottom: 1rem;
        display: flex;
        gap: 0.75rem;
        justify-content: center;
    }
    
    .wishlist-stats .stat-card {
        background: var(--gray-200);
        border: 1px solid var(--gray-300);
        border-radius: var(--border-radius);
        padding: 0.75rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        min-width: 80px;
        text-align: left;
    }
    
    .wishlist-stats .stat-card i {
        font-size: 1.25rem;
        color: var(--primary-color);
    }
    
    .wishlist-stats .stat-number {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--gray-900);
        line-height: 1;
    }
    
    .wishlist-stats .stat-label {
        color: var(--gray-600);
        font-size: 0.75rem;
        line-height: 1;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .wishlist-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
        align-items: stretch;
    }
    
    .wishlist-item {
        background: var(--gray-200);
        border: 1px solid var(--gray-300);
        border-radius: var(--border-radius-lg);
        overflow: hidden;
        transition: var(--transition);
        display: flex;
        flex-direction: column;
    }
    
    .wishlist-item:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }
    
    .wishlist-image {
        position: relative;
        height: 200px;
        overflow: hidden;
    }
    
    .wishlist-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .wishlist-item:hover .wishlist-image img {
        transform: scale(1.05);
    }
    
    .wishlist-category {
        position: absolute;
        top: 1rem;
        left: 1rem;
        background: var(--primary-color);
        color: var(--white);
        padding: 0.25rem 0.75rem;
        border-radius: var(--border-radius);
        font-size: 0.8rem;
        font-weight: 500;
    }
    
    .wishlist-content {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 300px;
    }
    
    .wishlist-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--gray-900);
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }
    
    .wishlist-description {
        color: var(--gray-600);
        margin-bottom: 1rem;
        line-height: 1.6;
        flex: 1;
        min-height: 0;
    }
    
    .wishlist-price-section {
        min-height: 2.5rem;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    
    .wishlist-price {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-color);
        margin: 0;
    }
    
    .wishlist-price-placeholder {
        height: 1.5rem;
        width: 100%;
    }
    
    .wishlist-meta {
        margin-bottom: 1.5rem;
        flex-shrink: 0;
    }
    
    .added-date {
        color: var(--gray-500);
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    /* Wishlist Page Specific Styles */
    .wishlist-page .page-header {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        position: relative;
        overflow: hidden;
    }
    
    .wishlist-page .page-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="wishlist-hearts" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M15,8c0,0-3-4-9-4S-3,8-3,8s3,4,9,4S15,8,15,8z" fill="%23FFFFFF" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23wishlist-hearts)"/></svg>');
        opacity: 0.4;
    }
    
    .wishlist-page .page-header h1 {
        color: var(--white);
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    
    .wishlist-page .page-header p {
        color: var(--white);
        opacity: 0.9;
    }
    
    .wishlist-actions {
        display: flex !important;
        gap: 1rem;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: stretch;
        margin-top: auto;
        visibility: visible !important;
        opacity: 1 !important;
        padding-top: 1rem;
        border-top: 1px solid var(--gray-300);
    }
    
    .wishlist-actions .btn-details {
        flex: 1;
        justify-content: center;
        align-items: center;
        min-width: 0;
        height: 44px;
        white-space: nowrap;
        padding: 0.75rem 1.5rem;
        background: var(--white);
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
        border-radius: var(--border-radius);
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        transition: var(--transition);
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .wishlist-actions .btn-remove {
        background: var(--error);
        color: var(--white);
        border: none;
        padding: 0.75rem 1.5rem;
        border-radius: var(--border-radius);
        font-weight: 500;
        cursor: pointer;
        transition: var(--transition);
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        flex: 1;
        white-space: nowrap;
        height: 44px;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .wishlist-actions .btn-remove:hover {
        background: #d32f2f;
        transform: translateY(-2px);
    }
    
    /* Wishlist item removal animation */
    .wishlist-item {
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .wishlist-actions .btn-details:hover {
        background: var(--primary-color);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
    
    /* Share Modal */
    .share-buttons {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .share-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        padding: 1rem;
        border-radius: var(--border-radius);
        text-decoration: none;
        font-weight: 500;
        transition: var(--transition);
        color: var(--white);
    }
    
    .share-btn.facebook {
        background: #1877f2;
    }
    
    .share-btn.twitter {
        background: #1da1f2;
    }
    
    .share-btn.linkedin {
        background: #0077b5;
    }
    
    .share-btn.email {
        background: var(--gray-600);
    }
    
    .share-btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
    
    .share-link {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .share-link label {
        font-weight: 500;
        color: var(--gray-700);
    }
    
    .share-link input {
        padding: 0.75rem;
        border: 1px solid var(--gray-200);
        border-radius: var(--border-radius);
        font-size: 0.875rem;
        background: var(--gray-50);
    }
    
    .btn-copy {
        background: var(--primary-color);
        color: var(--white);
        border: none;
        padding: 0.75rem 1.5rem;
        border-radius: var(--border-radius);
        cursor: pointer;
        font-weight: 500;
        transition: var(--transition);
        align-self: flex-start;
    }
    
    .btn-copy:hover {
        background: var(--primary-dark);
    }

/* Footer */
.footer {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: var(--gray-400);
    transition: var(--transition);
    text-decoration: none;
    font-weight: 400;
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gray-800);
    border-radius: 50%;
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 1rem;
    text-align: center;
    color: var(--gray-500);
}

/* Authentication */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    background: var(--gray-200);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 450px;
    border: 1px solid var(--gray-300);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--gray-600);
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-group:last-child {
    text-align: center;
}

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

.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.input-group input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.auth-footer p {
    margin-bottom: 0.5rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

.alert ul {
    margin: 0;
    padding-left: 1.5rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--gray-200);
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
    transition: var(--transition);
}

.close:hover {
    color: var(--gray-700);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2C2C2C !important;
        background-color: #2C2C2C !important;
        background-image: none !important;
        flex-direction: column;
        padding: 2rem 1rem;
        box-shadow: var(--shadow-xl);
        border-top: 1px solid var(--gray-200);
        border-left: 1px solid var(--gray-200);
        border-right: 1px solid var(--gray-200);
        transform: translateY(-20px);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-menu .nav-link {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--gray-200);
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        color: var(--gray-600);
        border-radius: var(--border-radius);
        margin: 0.25rem 0;
        background: transparent !important;
        position: relative;
        z-index: 2;
    }
    
    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: var(--primary-color);
        color: var(--white);
        transform: translateX(10px);
        box-shadow: var(--shadow-md);
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 4px;
        padding: 0.75rem;
        border-radius: var(--border-radius);
        transition: var(--transition);
        z-index: 1001;
        background: var(--gray-200);
        border: 1px solid var(--gray-300);
    }
    
    .nav-toggle:hover {
        background: var(--gray-300);
        border-color: var(--primary-color);
        box-shadow: var(--shadow-sm);
    }
    
    .nav-toggle span {
        width: 25px;
        height: 3px;
        background-color: var(--gray-700);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
    }
    
    /* Hamburger animation */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background-color: var(--primary-color);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background-color: var(--primary-color);
    }
    
    /* Mobile menu slide animation */
    .nav-menu {
        animation: slideDown 0.3s ease-out;
        will-change: transform, opacity;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    /* Add a subtle gradient overlay to the mobile menu */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #2C2C2C 0%, #424242 100%);
        opacity: 0.95;
        z-index: -1;
        border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    }
    
    /* Ensure mobile menu has proper dark background */
    .nav-menu,
    .nav-menu * {
        background-color: transparent !important;
    }
    
    .nav-menu {
        background: #2C2C2C !important;
        background: var(--gray-50) !important;
    }
    
    /* Force dark background for mobile menu */
    @media (max-width: 768px) {
        .nav-menu {
            background-color: #2C2C2C !important;
            background: #2C2C2C !important;
        }
        
        .nav-menu .nav-link {
            background-color: transparent !important;
        }
        
        .nav-menu .nav-link:hover,
        .nav-menu .nav-link.active {
            background-color: var(--primary-color) !important;
        }
    }
    
    /* Additional mobile menu background override */
    @media (max-width: 768px) {
        header .nav-container .nav-menu {
            background: #2C2C2C !important;
            background-color: #2C2C2C !important;
        }
        
        header .nav-container .nav-menu.active {
            background: #2C2C2C !important;
            background-color: #2C2C2C !important;
        }
    }
    
    /* Maximum specificity override for mobile menu background */
    @media (max-width: 768px) {
        body header .header .container .nav-container .nav-menu,
        body header .header .container .nav-container .nav-menu.active {
            background: #2C2C2C !important;
            background-color: #2C2C2C !important;
            background-image: none !important;
        }
    }
    
    /* Nuclear option - override everything for mobile menu */
    @media (max-width: 768px) {
        .nav-menu,
        .nav-menu.active,
        header .nav-menu,
        header .nav-menu.active,
        .nav-container .nav-menu,
        .nav-container .nav-menu.active {
            background: #2C2C2C !important;
            background-color: #2C2C2C !important;
            background-image: none !important;
            color: white !important;
        }
        
        /* Force all child elements to have transparent backgrounds */
        .nav-menu * {
            background: transparent !important;
            background-color: transparent !important;
        }
        
        /* Only allow primary color on hover/active states */
        .nav-menu .nav-link:hover,
        .nav-menu .nav-link.active {
            background: var(--primary-color) !important;
            background-color: var(--primary-color) !important;
        }
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Mobile menu item animations */
    .nav-menu .nav-link {
        animation: fadeInUp 0.4s ease-out;
        animation-fill-mode: both;
        will-change: transform, opacity;
    }
    
    .nav-menu .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu .nav-link:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu .nav-link:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu .nav-link:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu .nav-link:nth-child(5) { animation-delay: 0.5s; }
    .nav-menu .nav-link:nth-child(6) { animation-delay: 0.6s; }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Mobile performance improvements */
    .nav-menu,
    .nav-toggle,
    .product-card,
    .btn-primary,
    .btn-secondary,
    .btn-buy,
    .btn-details {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    /* Mobile hero improvements */
    .hero {
        padding: 4rem 0;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .search-form {
        flex-direction: column;
        gap: 1rem;
        margin: 0 1rem;
    }
    
    .search-input-group {
        width: 100%;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
        min-height: 50px;
    }
    
    /* Mobile search improvements */
    .search-input {
        min-height: 50px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Mobile filter improvements */
    .filter-section {
        padding: 2rem 1rem;
    }
    
    .filter-container {
        gap: 1.5rem;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .filter-buttons {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        gap: 0.75rem;
        justify-content: flex-start;
    }
    
    .filter-btn {
        white-space: nowrap;
        padding: 0.75rem 1.25rem;
        min-width: auto;
        flex-shrink: 0;
    }
    
    /* Mobile product card improvements */
    .product-card {
        margin: 0;
        border-radius: var(--border-radius-lg);
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    .product-title {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    .product-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .auth-card {
        margin: 1rem;
        padding: 2rem;
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .profile-forms {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .advanced-filter-form {
        padding: 2rem;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery {
        order: 2;
    }
    
    .product-info {
        order: 1;
    }
    
    .product-tabs .tab-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .share-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .search-form {
        margin: 0 0.5rem;
    }
    
    .search-input {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .search-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .filter-section {
        padding: 2rem 0;
    }
    
    .filter-container {
        gap: 1rem;
    }
    
    .filter-label {
        font-size: 1rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .products-section {
        padding: 3rem 0;
    }
    
    .products-grid {
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .product-card {
        margin: 0 0.5rem;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    .product-title {
        font-size: 1.25rem;
    }
    
    .product-description {
        font-size: 0.9rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-buy,
    .btn-details {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .page-header {
        padding: 3rem 0;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .advanced-filter-section {
        padding: 2rem 0;
    }
    
    .advanced-filter-form {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .filter-group input,
    .filter-group select {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .filter-buttons .btn-primary,
    .filter-buttons .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .results-info {
        padding: 1.5rem;
        font-size: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .active-filters {
        justify-content: center;
    }
    
    .filter-tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Profile Page Mobile */
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
    
    .profile-avatar img,
    .profile-avatar i {
        width: 100px;
        height: 100px;
        font-size: 4rem;
    }
    
    .profile-info h1 {
        font-size: 2rem;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .profile-forms {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .profile-form-section {
        padding: 2rem 1.5rem;
    }
    
    .profile-form input {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    .activity-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .activity-image img {
        width: 60px;
        height: 60px;
    }
    
    .activity-action {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    /* Product Details Page Mobile */
    .product-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery {
        order: 2;
    }
    
    .product-info {
        order: 1;
    }
    
    .product-header h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .product-price-large .amount {
        font-size: 2.5rem;
    }
    
    .product-tabs .tab-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .share-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .share-btn {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    /* About Page Mobile */
    .about-section {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .about-section h2 {
        font-size: 1.75rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        height: 200px;
        order: -1;
    }
    
    .about-image i {
        font-size: 4rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-card {
        padding: 1.5rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .value-icon i {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-grid .stat-number {
        font-size: 2rem;
    }
    
    .cta-content {
        padding: 2rem 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Auth Pages Mobile */
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
        margin: 0;
    }
    
    .auth-header h1 {
        font-size: 2rem;
    }
    
    .auth-header p {
        font-size: 1rem;
    }
    
    .input-group input {
        padding: 0.875rem 1rem 0.875rem 2.5rem;
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 3rem 0 2rem;
        margin-top: 4rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links a {
        width: 44px;
        height: 44px;
    }
}

/* About Page Styles */
.about-content {
    margin-top: 3rem;
}

.about-section {
    margin-bottom: 5rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--gray-700);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
}

.about-section::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    border-radius: var(--border-radius-xl);
    z-index: -1;
    opacity: 0.1;
    filter: blur(20px);
}

.about-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-grid.reverse {
    direction: rtl;
}

.about-grid.reverse .about-text {
    direction: ltr;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--gray-300);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.about-image i {
    font-size: 8rem;
    color: var(--white);
    z-index: 2;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

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

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-700) 100%);
    border: 2px solid var(--gray-600);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

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

.value-icon i {
    font-size: 2rem;
    color: var(--white);
}

.value-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.value-card p {
    color: var(--gray-300);
    font-size: 1rem;
    line-height: 1.6;
}

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

.stats-grid .stat-item {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius-lg);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stats-grid .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.stats-grid .stat-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.stats-grid .stat-number {
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stats-grid .stat-label {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* CTA Section */
.cta-content {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.cta-content p {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Responsive About Page */
@media (max-width: 768px) {
    .about-section {
        padding: 2rem;
        margin-bottom: 3rem;
    }
    
    .about-section h2 {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        height: 200px;
        order: -1;
    }
    
    .about-image i {
        font-size: 5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stats-grid .stat-number {
        font-size: 2rem;
    }
    
    .cta-content {
        padding: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 1.5rem;
    }
    
    .about-section h2 {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--gray-50);
    text-align: center;
    padding: 4rem 0;
}

.contact-hero .hero-title {
    color: var(--gray-50);
    margin-bottom: 1rem;
}

.contact-hero .hero-subtitle {
    color: var(--gray-50);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-section {
    padding: 4rem 0;
    background: var(--gray-200);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-container {
    background: var(--gray-300);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-400);
}

.contact-form-container h2 {
    color: var(--gray-50);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-50);
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-400);
    border-radius: var(--border-radius);
    background: var(--gray-200);
    color: var(--gray-50);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
    background: var(--gray-100);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray-500);
}

.contact-form button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-info {
    background: var(--gray-300);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-400);
}

.contact-info h2 {
    color: var(--gray-50);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-200);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-400);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

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

.contact-details h3 {
    color: var(--gray-50);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--gray-600);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.faq-section {
    padding: 4rem 0;
    background: var(--gray-100);
}

.faq-section h2 {
    text-align: center;
    color: var(--gray-50);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--gray-200);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-300);
    transition: var(--transition);
}

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

.faq-item h3 {
    color: var(--gray-50);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Responsive Contact Page */
@media (max-width: 768px) {
    .contact-hero {
        padding: 3rem 0;
    }
    
    .contact-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-container,
    .contact-info {
        padding: 2rem;
    }
    
    .contact-form-container h2,
    .contact-info h2 {
        font-size: 1.6rem;
    }
    
    .contact-item {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .faq-section {
        padding: 3rem 0;
    }
    
    .faq-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-hero .hero-title {
        font-size: 2rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-form-container,
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-form-container h2,
    .contact-info h2 {
        font-size: 1.4rem;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 0.875rem;
    }
    
    .contact-form button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto 1rem auto;
    }
    
    .faq-section h2 {
        font-size: 1.75rem;
    }
    
    .faq-item {
        padding: 1.25rem;
    }
    
    .faq-item h3 {
        font-size: 1.2rem;
    }
}
