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

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav li {
    margin: 0;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav a:hover {
    color: #ffd700;
    background-color: rgba(255,255,255,0.1);
}

.header-actions {
    display: flex !important;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    visibility: visible !important;
    opacity: 1 !important;
}

.header-actions a {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-decoration: none !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 8px 15px !important;
    border-radius: 5px !important;
    border: 2px solid white !important;
    background: #dc3545 !important;
    transition: all 0.3s ease !important;
    margin: 0 3px !important;
}

.header-actions a:hover {
    background: #c82333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
    text-decoration: none !important;
    color: white !important;
}

.header-actions .btn-outline {
    background: transparent !important;
    border: 2px solid white !important;
    color: white !important;
}

.header-actions .btn-outline:hover {
    background: white !important;
    color: #dc3545 !important;
}

.header-actions .btn-secondary {
    background: rgba(255,255,255,0.2) !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    color: white !important;
}

.header-actions .btn-secondary:hover {
    background: rgba(255,255,255,0.3) !important;
    border-color: rgba(255,255,255,0.5) !important;
}

.header-actions .btn {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    white-space: nowrap !important;
    background: #dc3545 !important;
    color: white !important;
    border: 2px solid white !important;
    margin: 0 5px !important;
    padding: 8px 15px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.header-actions .btn:hover {
    background: #c82333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

.header-actions .btn-outline {
    background: transparent !important;
    border: 2px solid white !important;
    color: white !important;
}

.header-actions .btn-outline:hover {
    background: white !important;
    color: #dc3545 !important;
}

.header-actions .btn-secondary {
    background: rgba(255,255,255,0.2) !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    color: white !important;
}

.header-actions .btn-secondary:hover {
    background: rgba(255,255,255,0.3) !important;
    border-color: rgba(255,255,255,0.5) !important;
}

/* Button Styles */
.btn {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: #dc3545;
    color: white;
}

.btn-primary:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #dc3545;
    color: #dc3545;
}

.btn-outline:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    margin-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: block;
    max-width: 100%;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* إصلاح الصور */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: block;
    max-width: 100%;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.testimonials .section-title {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.testimonial-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: #ffd700;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.author-info {
    text-align: right;
}

.author-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: white;
}

.author-info span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.rating {
    margin-top: 0.5rem;
}

.rating i {
    color: #ffd700;
    font-size: 0.9rem;
    margin-left: 2px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #c82333);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #dc3545;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid #dc3545;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: #dc3545;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.contact-actions {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-actions .btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
    min-width: 200px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-actions .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        min-width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* إجبار ظهور أزرار المنتجات */
.product-card .product-actions {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #f8f9fa !important;
    padding: 15px !important;
    border-radius: 0 0 15px 15px !important;
    margin-top: 0 !important;
}

.product-card .product-actions .btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #dc3545 !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    margin: 0 5px !important;
    transition: all 0.3s ease !important;
}

.product-card .product-actions .btn:hover {
    background: #c82333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3) !important;
}

.product-card .product-actions .btn-outline {
    background: transparent !important;
    color: #dc3545 !important;
    border: 2px solid #dc3545 !important;
}

.product-card .product-actions .btn-outline:hover {
    background: #dc3545 !important;
    color: white !important;
}

.product-card .product-actions .btn-secondary {
    background: #6c757d !important;
    color: white !important;
    border: none !important;
}

.product-card .product-actions .btn-secondary:hover {
    background: #5a6268 !important;
}

/* Products Section */
.featured-products {
    padding: 80px 0;
    background: white;
}

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

.product-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #c82333);
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #dc3545;
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    display: block;
    max-width: 100%;
}

.product-card:hover .product-image img {
    transform: scale(1.1) rotate(2deg);
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(220, 53, 69, 0.1), rgba(200, 35, 51, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    z-index: 2;
    animation: pulse 2s infinite;
}

.featured-badge i {
    margin-left: 5px;
    color: #ff6b35;
}

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

.no-image {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ccc;
}

.product-info {
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.3;
}

.product-info p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.category {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.featured {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.product-price {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #dc3545;
    text-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.discount {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
}

.product-actions {
    display: flex !important;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
    flex-shrink: 0;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    background: white !important;
    padding: 10px 0 !important;
    border-top: 1px solid #eee !important;
}

@media (max-width: 768px) {
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        min-width: 100%;
        margin-bottom: 0.5rem;
    }
}

.product-actions .btn {
    flex: 1;
    min-width: 140px;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 15 !important;
    margin: 2px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.product-actions .btn-primary {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
    color: white !important;
    border: 2px solid #dc3545 !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3) !important;
}

.product-actions .btn-primary:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
    color: white;
    text-decoration: none;
}

.product-actions .btn-outline {
    background: transparent !important;
    color: #dc3545 !important;
    border: 2px solid #dc3545 !important;
}

.product-actions .btn-outline:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    text-decoration: none;
}

.product-actions .btn-secondary {
    background: linear-gradient(135deg, #6c757d, #5a6268) !important;
    color: white !important;
    border: 2px solid #6c757d !important;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3) !important;
}

.product-actions .btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268, #495057);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(108, 117, 125, 0.4);
    color: white;
    text-decoration: none;
}

/* Contact Info */
.contact-info {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-item p {
    color: #666;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #dc3545;
}

/* Alert Styles */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Admin Panel Styles */
.admin-container {
    display: flex;
    min-height: 100vh;
    background: #f8f9fa;
}

.admin-sidebar {
    width: 280px;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.admin-content {
    flex: 1;
    margin-left: 280px;
    padding: 30px;
}

.admin-header {
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    color: #dc3545;
    margin: 0;
}

.admin-header h2 {
    color: #dc3545;
    margin: 0 0 10px 0;
}

.admin-header p {
    color: #666;
    margin: 0;
}

.admin-nav {
    padding: 20px 0;
}

.admin-nav a {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: #dc3545;
    color: white;
    border-left-color: #c82333;
}

.admin-nav a i {
    margin-left: 15px;
    width: 20px;
    text-align: center;
}

.admin-nav a.logout {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.admin-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.admin-section h2 {
    color: #dc3545;
    margin-bottom: 20px;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 10px;
}

.admin-section h3 {
    color: #333;
    margin-bottom: 15px;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}

.stat-icon i {
    color: white;
    font-size: 24px;
}

.stat-content h3 {
    font-size: 2rem;
    color: #dc3545;
    margin: 0 0 5px 0;
}

.stat-content p {
    color: #666;
    margin: 0;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.admin-table tr:hover {
    background: #f8f9fa;
}

/* Status Badges */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background: #d1ecf1;
    color: #0c5460;
}

.status-shipped {
    background: #d4edda;
    color: #155724;
}

.status-delivered {
    background: #c3e6cb;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Role Badges */
.role-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.role-admin {
    background: #dc3545;
    color: white;
}

.role-user {
    background: #6c757d;
    color: white;
}

/* Payment Badges */
.payment-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.payment-cash {
    background: #28a745;
    color: white;
}

.payment-paypal {
    background: #0070ba;
    color: white;
}

.payment-stripe {
    background: #6772e5;
    color: white;
}

/* Stock Badges */
.stock-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.in-stock {
    background: #d4edda;
    color: #155724;
}

.low-stock {
    background: #fff3cd;
    color: #856404;
}

.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

/* Featured Badge */
.featured-badge {
    background: #dc3545;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Buttons */
.btn-small {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 0 2px;
    transition: all 0.3s ease;
}

.btn-small i {
    margin: 0;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

/* Product Info */
.product-info {
    display: flex;
    align-items: center;
}

.product-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    margin-left: 10px;
}

.no-image {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.8rem;
    margin-left: 10px;
}

/* Customer Info */
.customer-info {
    display: flex;
    flex-direction: column;
}

.customer-info strong {
    color: #333;
}

.customer-info small {
    color: #666;
    font-size: 0.8rem;
}

/* Status Select */
.status-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    font-size: 14px;
}

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

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: #dc3545;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #dc3545;
}

.modal-body {
    padding: 20px 30px;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    text-align: left;
}

/* Forms */
.admin-form {
    padding: 20px 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-left: 10px;
}

/* Order Details */
.order-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.order-info-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.order-info-card h3 {
    color: #dc3545;
    margin-bottom: 20px;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 10px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #333;
}

.total-amount {
    font-size: 1.2rem;
    font-weight: bold;
    color: #dc3545;
}

/* Status Update Form */
.status-update-form {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Order Notes */
.order-notes {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #dc3545;
}

/* Reports Grid */
.reports-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.chart-container {
    height: 300px;
    margin-top: 20px;
}

/* Activities List */
.activities-list {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.activity-item:hover {
    background: #f8f9fa;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.activity-icon i {
    color: white;
    font-size: 16px;
}

.activity-content p {
    margin: 0 0 5px 0;
    color: #333;
    font-weight: 500;
}

.activity-content small {
    color: #666;
    font-size: 0.8rem;
}

/* Status Distribution */
.status-distribution {
    margin-top: 20px;
}

.status-item {
    margin-bottom: 15px;
}

.status-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.status-count {
    font-weight: bold;
    color: #333;
}

.status-bar {
    height: 8px;
    background: #f1f3f4;
    border-radius: 4px;
    overflow: hidden;
}

.status-fill {
    height: 100%;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Content Cards */
.content-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.content-card h3 {
    color: #dc3545;
    margin-bottom: 15px;
    border-bottom: 2px solid #dc3545;
    padding-bottom: 10px;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border: 2px solid #dc3545;
    border-radius: 10px;
    color: #dc3545;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-action-btn:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
}

.quick-action-btn i {
    margin-left: 10px;
    font-size: 1.2rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* Responsive Design for Admin */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
    
    .admin-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .order-details-grid {
        grid-template-columns: 1fr;
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .admin-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .admin-nav a {
        flex: 1;
        min-width: 150px;
        text-align: center;
        padding: 10px;
    }
}

/* Main Site Additional Styles */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Dashboard Styles */
.dashboard {
    padding: 30px 0;
}

.dashboard-header {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: center;
}

.dashboard-header h1 {
    color: #dc3545;
    margin-bottom: 10px;
}

.dashboard-header p {
    color: #666;
    font-size: 1.1rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-weight: 600;
    font-size: 1.1rem;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.dashboard-sidebar {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: fit-content;
}

.dashboard-main {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #dc3545;
    color: white;
    border-left-color: #c82333;
}

.sidebar-menu a i {
    margin-left: 10px;
    width: 20px;
    text-align: center;
}

/* Tables */
.table-container {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid #e1e5e9;
}

.table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.table tr:hover {
    background: #f8f9fa;
}

/* Product Grid */
.products-container {
    padding: 30px 0;
}

.products-header {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.products-filters {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
}

.category-filter {
    min-width: 150px;
}

.category-filter select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
}

.filter-btn {
    padding: 12px 25px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* Login/Register Forms */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.auth-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 500px;
}

.auth-form h2 {
    text-align: center;
    color: #dc3545;
    margin-bottom: 30px;
    font-size: 2rem;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.auth-form .form-control:focus {
    outline: none;
    border-color: #dc3545;
}

.auth-form .btn {
    width: 100%;
    padding: 15px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-form .btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

.admin-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid #dc3545;
}

.admin-info h3 {
    color: #dc3545;
    margin-bottom: 10px;
}

.admin-info p {
    margin-bottom: 5px;
    color: #666;
}

.admin-info strong {
    color: #333;
}

/* Cart Styles */
.cart-badge {
    background: #ffd700;
    color: #333;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .products-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .category-filter {
        min-width: auto;
    }
    
    .auth-form {
        padding: 30px 20px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #c82333;
    transform: translateY(-3px);
}

.social-links a i {
    font-size: 18px;
}

/* Admin Panel Additional Styles */
.admin-sidebar {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.admin-sidebar .admin-header h2 {
    color: #ffd700;
}

.admin-sidebar .admin-header p {
    color: #bdc3c7;
}

.admin-nav a {
    border-left: 3px solid transparent;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255,255,255,0.1);
    color: #ffd700;
    border-left-color: #ffd700;
}

.admin-nav a.logout {
    color: #e74c3c;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 20px;
}

.admin-nav a.logout:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.admin-content {
    margin-left: 280px;
}

.admin-content .admin-header {
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.admin-content .admin-header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.admin-content .admin-header p {
    color: #7f8c8d;
    margin: 0;
}

/* Admin Buttons */
.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
}

.btn-warning {
    background: #ffc107;
    color: #333;
}

.btn-warning:hover {
    background: #e0a800;
    transform: translateY(-2px);
}

/* Admin Tables */
.admin-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.admin-table td {
    border-bottom: 1px solid #eee;
}

/* Admin Forms */
.admin-form .form-group label {
    color: #2c3e50;
    font-weight: 600;
}

.admin-form .form-control:focus {
    border-color: #dc3545;
}

/* Admin Status Badges */
.status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.status-confirmed {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge.status-shipped {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-delivered {
    background: #d1e7dd;
    color: #0f5132;
}

.status-badge.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Mobile Toggle Button */
.mobile-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: #2c3e50;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .admin-sidebar.active {
        transform: translateX(0);
    }
    
    .admin-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .mobile-toggle {
        display: block;
    }
}

/* ===== RESPONSIVE DESIGN FOR MOBILE & TABLET ===== */

/* Header Responsive */
@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(44, 62, 80, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .header-content {
        flex-direction: column;
        padding: 10px 15px;
        gap: 10px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
        margin: 0;
    }
    
    .nav {
        order: 3;
        width: 100%;
    }
    
    .nav ul {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
    }
    
    .nav ul li {
        margin: 0;
    }
    
    .nav ul li a {
        font-size: 0.9rem;
        padding: 8px 12px;
        border-radius: 20px;
        background: rgba(255,255,255,0.1);
        transition: all 0.3s ease;
    }
    
    .nav ul li a:hover {
        background: rgba(255,255,255,0.2);
    }
    
    .header-actions {
        order: 2;
        flex-direction: row;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .header-actions .btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: auto;
        flex: 0 1 auto;
    }
    
    .header-actions .btn i {
        margin-left: 4px;
    }
    
    /* إضافة مساحة للهيدر الثابت */
    .main-content {
        margin-top: 120px;
    }
}

/* Hero Section Responsive */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        min-height: auto;
    }
    
    .hero-content {
        order: 2;
        padding: 20px 0;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 15px 25px;
        font-size: 1.1rem;
    }
}

/* Services Responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
}

/* About Section Responsive */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
}

/* Products Responsive */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .product-card {
        margin: 0 auto;
        max-width: 350px;
    }
    
    .product-image {
        height: 250px;
    }
    
    .product-info {
        padding: 1.5rem;
    }
    
    .product-info h3 {
        font-size: 1.3rem;
    }
    
    .product-info p {
        font-size: 0.95rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 1rem;
    }
    
    .product-actions .btn {
        min-width: 100%;
        margin-bottom: 8px;
        padding: 15px 20px;
        font-size: 1rem;
    }
}

/* Testimonials Responsive */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
}

/* Contact Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .contact-actions .btn-large {
        width: 100%;
        max-width: 300px;
        padding: 18px 25px;
        font-size: 1.1rem;
    }
}

/* Container & General Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .header-content {
        padding: 8px 10px;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .nav ul {
        gap: 8px;
    }
    
    .nav ul li a {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .header-actions {
        gap: 5px;
    }
    
    .header-actions .btn {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .main-content {
        margin-top: 100px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .product-info h3 {
        font-size: 1.2rem;
    }
    
    .product-info p {
        font-size: 0.9rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    .contact-card {
        padding: 1.2rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Tablet Specific */
@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}
