/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255,255,255,0.1);
}

.chat-link {
    background: #3498db;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-success { background: #2ecc71; }
.btn-success:hover { background: #27ae60; }

.btn-danger { background: #e74c3c; }
.btn-danger:hover { background: #c0392b; }

.btn-warning { background: #f39c12; }
.btn-warning:hover { background: #d35400; }

.btn-info { background: #3498db; }
.btn-info:hover { background: #2980b9; }

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 1rem 1rem 0.5rem;
}

.product-card p {
    padding: 0 1rem;
    color: #666;
}

.price {
    color: #e74c3c;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 1rem;
}

.product-card .btn {
    margin: 1rem;
    display: block;
    text-align: center;
}

/* Testimonials */
.testimonials {
    background: #f8f9fa;
    padding: 4rem 0;
    margin: 3rem 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial span {
    color: #666;
    font-weight: bold;
}

/* Authentication */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-box {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

.auth-box h2 {
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.auth-link a {
    color: #3498db;
    text-decoration: none;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Checkout */
.checkout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
}

.order-summary {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-summary {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.product-summary img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: bold;
    padding-top: 1rem;
    border-top: 2px solid #3498db;
}

.payment-methods {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.payment-option {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.payment-option:hover {
    border-color: #3498db;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option input[type="radio"]:checked + label {
    color: #3498db;
}

.payment-option label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.payment-option i {
    font-size: 1.5rem;
}

.payment-option span {
    font-weight: bold;
    font-size: 1.1rem;
}

.payment-option small {
    margin-left: auto;
    color: #666;
}

/* Chat */
.chat-container {
    max-width: 800px;
    margin: 2rem auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    overflow: hidden;
}

.chat-header {
    background: #2c3e50;
    color: white;
    padding: 1.5rem;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8f9fa;
}

.message {
    margin-bottom: 1rem;
    max-width: 70%;
    padding: 1rem;
    border-radius: 15px;
    position: relative;
}

.message.user {
    background: #3498db;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.message.admin {
    background: #e9ecef;
    color: #333;
    margin-right: auto;
    border-bottom-left-radius: 5px;
}

.message-time {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.chat-input {
    display: flex;
    padding: 1rem;
    background: white;
    border-top: 1px solid #eee;
}

.chat-input textarea {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
    font-family: inherit;
    font-size: 1rem;
}

.chat-input button {
    margin-left: 1rem;
    align-self: flex-end;
}

/* Admin Dashboard */
.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: #2c3e50;
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #34495e;
}

.sidebar-menu {
    padding: 1rem 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    transition: background 0.3s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #34495e;
}

.sidebar-menu a.logout {
    color: #e74c3c;
}

.sidebar-menu .badge {
    background: #e74c3c;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-left: auto;
}

.admin-content {
    flex: 1;
    margin-left: 250px;
    padding: 2rem;
}

.admin-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.stat-info p {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 1rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

table th {
    background: #2c3e50;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

table tr:hover {
    background: #f8f9fa;
}

/* Status Badges */
.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
}

.status-pending { background: #f39c12; color: white; }
.status-processing { background: #3498db; color: white; }
.status-completed { background: #2ecc71; color: white; }
status-cancelled { background: #e74c3c; color: white; }
.status-active { background: #2ecc71; color: white; }
.status-inactive { background: #95a5a6; color: white; }

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

/* Form Sections */
.form-section,
.table-section,
.dashboard-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #2c3e50;
        padding: 1rem;
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .admin-content {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }

/* Loading */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* No Data */
.no-data,
.no-products,
.no-messages {
    text-align: center;
    padding: 3rem;
    color: #666;
    background: #f8f9fa;
    border-radius: 10px;
}

/* Chats Layout */
.chats-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    height: 600px;
}

@media (max-width: 992px) {
    .chats-layout {
        grid-template-columns: 1fr;
    }
}

.chats-users {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.users-list {
    max-height: 500px;
    overflow-y: auto;
}

.user-item {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    transition: background 0.3s;
}

.user-item:hover,
.user-item.active {
    background: #f8f9fa;
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.unread-count {
    background: #e74c3c;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
}

.chats-conversation {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.conversation-header {
    background: #2c3e50;
    color: white;
    padding: 1rem 1.5rem;
}

.conversation-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: #f8f9fa;
}

.message-item {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.message-item.admin-reply {
    border-left: 4px solid #3498db;
}

.message-item.user-message {
    border-left: 4px solid #2ecc71;
}

.message-time {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
}

.reply-form {
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.no-chat-selected {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.no-chat-selected i {
    margin-bottom: 1rem;
    color: #ddd;
}

/* Payment Instructions */
.payment-instructions {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.crypto-address {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    border: 1px solid #ddd;
}

.crypto-address code {
    display: block;
    background: #f8f9fa;
    padding: 0.5rem;
    margin: 0.5rem 0;
    border-radius: 5px;
    font-family: monospace;
    word-break: break-all;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

/* Actions in Tables */
.actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.status-dropdown select {
    padding: 0.3rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

/* Bank List */
.bank-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.bank-item {
    background: white;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Dashboard Chats List */
.chats-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-item {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.chat-item.unread {
    border-left: 4px solid #3498db;
    background: #f8f9fa;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.btn-reply {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.3rem 1rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
}
/* ====== GENUINE AUTOMOBILE STORE STYLES ====== */

/* Top Bar */
.top-bar {
    background: #2c3e50;
    color: white;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info span {
    margin-right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-links a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-links a:hover {
    color: #3498db;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

.logo i {
    color: #e74c3c;
    font-size: 2rem;
}

/* Hero Slider */
.hero-slider {
    height: 600px;
    position: relative;
    margin-bottom: 3rem;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.slide-1 {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1551216227-d2f7c8e01c8a?auto=format&fit=crop&w=1600&q=80');
}

.slide-2 {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1549399542-7e3f8b79c341?auto=format&fit=crop&w=1600&q=80');
}

.slide-3 {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1593941707882-a5bba5338fe2?auto=format&fit=crop&w=1600&q=80');
}

.swiper-button-next, .swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.5rem;
}

/* Quick Stats */
.quick-stats {
    background: #f8f9fa;
    padding: 3rem 0;
    margin: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.stat-item h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

/* Categories */
.categories {
    padding: 5rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: #e74c3c;
    margin: 1rem auto;
    border-radius: 2px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.category-card:hover {
    border-color: #3498db;
    transform: translateY(-5px);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.category-icon i {
    font-size: 2.5rem;
    color: #3498db;
}

.category-card h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

/* Products Grid Enhancement */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #e74c3c;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-all {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Brands */
.brands {
    background: #f8f9fa;
    padding: 5rem 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.brand-logo {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.brand-logo i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.brand-logo span {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.2rem;
}

/* Services */
.services {
    padding: 5rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2.5rem;
    color: #3498db;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Testimonials Enhancement */
.testimonials {
    padding: 5rem 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.rating {
    color: #f39c12;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.customer {
    display: flex;
    flex-direction: column;
}

.customer strong {
    color: #2c3e50;
}

.customer span {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #3498db;
}

/* Footer Enhancement */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col a {
    display: block;
    color: #bdc3c7;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-col p {
    color: #bdc3c7;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
}

.footer-bottom a {
    color: #3498db;
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-info span {
        margin: 0 0.5rem;
        display: block;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid,
    .categories-grid,
    .products-grid,
    .brands-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
/* Admin Product Management Styles */
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group label i {
    margin-right: 0.5rem;
    color: #3498db;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.9rem;
}

.text-muted {
    color: #666;
    display: block;
    margin-top: 0.25rem;
}

.price-tag {
    background: #2ecc71;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.styled-table thead tr {
    background-color: #2c3e50;
    color: #ffffff;
    text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 1rem;
    vertical-align: middle;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f8f9fa;
}

.styled-table tbody tr:hover {
    background-color: #e3f2fd;
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #2c3e50;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.action-buttons .btn-small {
    width: 100%;
    text-align: center;
}

.no-data {
    text-align: center;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 2rem 0;
}

.no-data i {
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.no-data h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.no-data p {
    color: #666;
}
/* ============================================
   RESPONSIVE NAVBAR FIX
   Add this to the end of your assets/style.css file
=============================================== */

/* Mobile Menu Toggle */
.navbar .container {
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Nav Menu */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 15px;
        margin: 5px 0;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: left;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .nav-menu a.chat-link {
        background: #3498db;
        color: white;
        border-radius: 5px;
        margin-top: 20px;
    }
    
    .nav-menu-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }
    
    .nav-menu-backdrop.active {
        display: block;
    }
}

/* For smaller screens */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .logo span {
        font-size: 1.1rem;
    }
    
    .navbar {
        padding: 10px 0;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}
/* ======================================================
   ADMIN DASHBOARD – MOBILE FRIENDLY OVERRIDES
   (SAFE ADDITIONS – DOES NOT REMOVE FEATURES)
====================================================== */

/* ---------- GENERAL MOBILE FIX ---------- */
@media (max-width: 992px) {

    body {
        overflow-x: hidden;
    }

    /* Admin Layout Stack */
    .admin-container {
        flex-direction: column;
    }

    /* Sidebar becomes top bar */
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .sidebar-header {
        text-align: center;
        padding: 1rem;
    }

    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.5rem;
    }

    .sidebar-menu a {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        justify-content: center;
    }

    /* Content takes full width */
    .admin-content {
        margin-left: 0;
        padding: 1rem;
    }

    .admin-header h1 {
        font-size: 1.5rem;
        text-align: center;
    }
}

/* ---------- SMALL DEVICES ---------- */
@media (max-width: 768px) {

    /* Reduce padding everywhere */
    .admin-content {
        padding: 0.75rem;
    }

    /* Cards / Sections */
    .form-section,
    .table-section,
    .dashboard-section {
        padding: 1.25rem;
    }

    /* Forms stack properly */
    .form-row {
        flex-direction: column;
    }

    /* Buttons full width */
    .btn,
    .btn-small {
        width: 100%;
        text-align: center;
    }

    /* Action buttons stack */
    .actions,
    .action-buttons {
        flex-direction: column;
    }

    /* Tables scroll safely */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 600px;
    }

    /* Bank list responsive */
    .bank-list {
        grid-template-columns: 1fr;
    }

    .bank-item {
        padding: 1rem;
    }

    /* Status badges spacing */
    .status-badge {
        display: inline-block;
        margin-bottom: 0.5rem;
    }
}

/* ---------- CHATS MOBILE FIX ---------- */
@media (max-width: 768px) {

    .chats-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .chats-users {
        max-height: 250px;
        overflow-y: auto;
    }

    .users-list {
        max-height: 200px;
    }

    .chats-conversation {
        height: calc(100vh - 300px);
    }

    .conversation-messages {
        padding: 1rem;
    }

    .reply-form textarea {
        min-height: 80px;
    }
}

/* ---------- NAVBAR ADMIN SAFETY ---------- */
@media (max-width: 992px) {

    .sidebar-menu a.logout {
        width: 100%;
        text-align: center;
        color: #e74c3c;
        font-weight: bold;
    }
}

/* ---------- TOUCH IMPROVEMENTS ---------- */
@media (max-width: 768px) {

    a,
    button {
        min-height: 44px;
    }

    .user-item {
        padding: 1rem;
    }

    .message-item {
        padding: 0.75rem;
    }
}
