* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

:root {
    --primary-color: #e31837;
    --secondary-color: #ffffff;
    --text-color: #333333;
    --background-light: #f5f5f5;
    --dark-gray: #2c2c2c;
    --section-bg-1: #fafafa;
    --section-bg-2: #f8f9fa;
    --section-bg-3: #f0f2f5;
    --section-bg-4: #f7f9fc;
    --section-bg-5: #f5f7fa;
    --info-color:rgb(85, 246, 255);
}

body {
    direction: rtl;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header Banner */
.hero-banner {
    height: 400px;
    position: relative;
    overflow: hidden;
}

/* Banner Slides */
.banner-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgb(244 121 140);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--secondary-color);
    transform: scale(1.2);
    background: rgba(227, 24, 55, 0.8);
}

.banner-overlay {
   /* background: rgba(227, 24, 55, 0.8);*/
    height: 100%;
    width: 100%;
    position: relative;
}

/* Navigation */
.navbar {
    direction: ltr;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    color: var(--secondary-color);
    position: relative;
    background: rgba(227, 24, 55, 0.8);
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-left a, .nav-right a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-left a:hover, .nav-right a:hover {
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.language-switch {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    font-weight: bold;
}

/* Logo Styling */
.logo {
    text-align: center;
}

.logo-main {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-top: -5px;
}

/* Banner Content */
.banner-content {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    color: var(--secondary-color);
}

/* Banner Slide Animations */
.slide-in-left {
    animation: slideInLeft 3s ease-out;
}

.slide-in-center {
    animation: slideInCenter 3s ease-out;
}

.slide-in-right {
    animation: slideInRight 3s ease-out;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInCenter {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.banner-left span, .banner-right span {
    font-size: 0.9rem;
}

.dimel-logo {
    text-align: center;
}

.dimel-main {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    font-style: italic;
}

.dimel-sub {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-top: -3px;
}

/* Fixed Service Request Button */
.fixed-service-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
}

.service-request-btn {
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    color: var(--secondary-color);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 20px rgba(227, 24, 55, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.service-request-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(227, 24, 55, 0.4);
}

.service-request-btn i {
    font-size: 1.2rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(227, 24, 55, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(227, 24, 55, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(227, 24, 55, 0.3);
    }
}

/* Section Styling */
.section-body {
    padding: 4rem 2rem;
}

.bg-light {
    background-color: var(--secondary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.section-header p {
    color: var(--text-color);
    font-size: 1rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 200px;
    border-radius: 10px;
}
.image-placeholder img {
    width: 100%;
}

.about-text p {
    text-align: justify;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.more-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.more-button:hover {
    background-color: #c41230;
}

/* Goals Section */
.goals-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.goal-card {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.goal-card:hover {
    transform: translateY(-5px);
}

.goal-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.goal-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.goal-card p {
    text-align: justify;
    line-height: 1.6;
}

/* Why Us Section */
.why-us-content {
    max-width: 800px;
    margin: 0 auto;
}

.why-us-box {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 3rem;
    border-radius: 10px;
    text-align: justify;
}

.why-us-box p {
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials-slider {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}


/* Testimonial Indicators */
.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonial-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(227, 24, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-card {
    min-width: 100%;
    background-color: var(--secondary-color);
    padding: 4rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.11);
    transition: transform 0.3s ease;
    text-align: center;
}


.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-image {
    margin-bottom: 1.5rem;
}

.testimonial-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial-content h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.client-position {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-text {
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.rating {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
}

.rating i {
    color: #ffd700;
    font-size: 1.1rem;
}

/* Products Section */
.products {
    max-width: 1200px;
    margin: 0 auto;
}

.products-category {
    text-align: center;
    margin-bottom: 2rem;
}

.category-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.products-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    justify-items: center;
}

.product-card {
    background-color: var(--secondary-color);
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(227, 24, 55, 0.1);
    width: -webkit-fill-available;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ff6b6b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(227, 24, 55, 0.15);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: bold;
    position: relative;
}

.product-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.product-card:hover h3::after {
    width: 50px;
}

.product-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.product-card .product-price {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(227, 24, 55, 0.1), rgba(227, 24, 55, 0.05));
    border-radius: 20px;
    display: none;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: var(--secondary-color);
    padding: 3rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    text-align: center;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .logo-main {
    font-size: 1.8rem;
}

.footer-logo .logo-sub {
    font-size: 0.8rem;
}

.footer-description {
    margin-top: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

/* Contact Info */
.contact-info {
    text-align: right;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
}

.contact-item span {
    font-size: 0.9rem;
}

/* Social Media */
.social-media {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--secondary-color);
    text-decoration: none;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    background-color: rgba(227, 24, 55, 0.2);
    transform: translateX(-5px);
}

.social-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.social-link span {
    font-size: 0.9rem;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 2rem;
    text-align: center;
}

.footer-separator {
    height: 2px;
    background-color: var(--primary-color);
    margin: 1rem auto;
    width: 100px;
}

.footer-text p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-left, .nav-right {
        gap: 1rem;
    }
    
    .nav-left a, .nav-right a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }
    
    .nav-left, .nav-right {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-center {
        flex: 1;
        text-align: center;
    }
    
    .logo-main {
        font-size: 1.5rem;
    }
    
    .logo-sub {
        font-size: 0.7rem;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .goals-container {
        grid-template-columns: 1fr;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .products-items {
        grid-template-columns: 1fr;
    }
    
    .category-btn {
        margin: 0.25rem;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem;
    }
    
    .logo-main {
        font-size: 1.3rem;
    }
    
    .logo-sub {
        font-size: 0.6rem;
    }
    
    .banner-content {
        padding: 0 0.5rem;
    }
    
    .banner-left span, .banner-right span {
        font-size: 0.8rem;
    }
    
    .dimel-main {
        font-size: 1.2rem;
    }
    
    .dimel-sub {
        font-size: 0.7rem;
    }
    
    /* Fixed button responsive */
    .fixed-service-btn {
        bottom: 1rem;
        left: 1rem;
    }
    
    .service-request-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .service-request-btn span {
        display: none;
    }
    
    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .social-media {
        align-items: center;
    }
}

/* Service Request Form Styles */
.service-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--secondary-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.service-request-form {
    padding: 2rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3 i {
    font-size: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 24, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Category Selection */
.category-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.category-option {
    position: relative;
}

.category-option input[type="radio"] {
    display: none;
}

.category-option label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.category-option input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background-color: rgba(227, 24, 55, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(227, 24, 55, 0.2);
}

.category-option label i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.category-option label span {
    font-weight: 600;
    color: var(--text-color);
}

/* Contact Preferences */
.contact-preferences {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.checkbox-label:hover {
    background-color: rgba(227, 24, 55, 0.1);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

/* Submit Button */
.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    color: var(--secondary-color);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(227, 24, 55, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(227, 24, 55, 0.4);
}

.submit-btn i {
    font-size: 1.2rem;
}

/* Success Message */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.success-content {
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.success-content i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.success-content p {
    color: var(--text-color);
    margin-bottom: 2rem;
}

.success-content button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.success-content button:hover {
    background-color: #c41230;
}

/* Responsive Form */
@media (max-width: 768px) {
    .service-form-container {
        margin: 0 1rem;
    }
    
    .service-request-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-selection {
        grid-template-columns: 1fr;
    }
    
    .contact-preferences {
        flex-direction: column;
        gap: 1rem;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-request-form {
        padding: 1rem;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
    }
    
    .category-option label {
        padding: 1rem;
    }
    
    .success-content {
        margin: 1rem;
        padding: 2rem;
    }
}

/* Login Page Styles */
.login-page {
    background: linear-gradient(135deg, rgba(227, 24, 55, 0.1), rgba(227, 24, 55, 0.05));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: var(--secondary-color);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-header {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
}

.login-header h2 {
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
}

.login-header p {
    color: var(--text-color);
    opacity: 0.8;
}

.login-form {
    padding: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.login-form label i {
    color: var(--primary-color);
    width: 20px;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    color: var(--secondary-color);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 24, 55, 0.3);
}

.login-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #c41230;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #f5c6cb;
}

/* Dashboard Styles */
.dashboard-page {
    background-color: #f5f7fa;
    min-height: 100vh;
}

.dashboard-header {
    background: var(--secondary-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left .logo-main {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.header-left .logo-sub {
    font-size: 0.8rem;
    color: var(--text-color);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logout-btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.logout-btn:hover {
    background-color: #c41230;
}

.dashboard-container {
    display: flex;
    min-height: calc(100vh - 80px);
}

.dashboard-sidebar {
    width: 250px;
    background: var(--secondary-color);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
}

.nav-item:hover,
.nav-item.active {
    background-color: rgba(227, 24, 55, 0.1);
    color: var(--primary-color);
    border-right-color: var(--primary-color);
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.dashboard-main {
    flex: 1;
    padding: 2rem;
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
}

.dashboard-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

/* Statistics Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

.stat-content p {
    color: var(--text-color);
    margin: 0;
    opacity: 0.8;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Recent Requests */
.recent-requests {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.request-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.request-info h4 {
    margin: 0 0 0.25rem;
    color: var(--text-color);
}

.request-info p {
    margin: 0 0 0.25rem;
    color: var(--text-color);
    opacity: 0.8;
}

.status {
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status.pending {
    background: #fff3cd;
    color: #856404;
}

.status.completed {
    background: #d4edda;
    color: #155724;
}

.status.in-progress {
    background: #cce5ff;
    color: #004085;
}

.request-date {
    color: var(--text-color);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-label {
    color: var(--text-color);
}

.stat-value {
    font-weight: bold;
    color: var(--primary-color);
}

/* Section Header */
.section-header {
    align-items: center;
    margin-bottom: 2rem;
}

.section-actions {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background: #c41230;
}

.btn-info{
    background-color: var(--info-color);
}
.btn-danger {
    background: #dc3545;
    color: var(--secondary-color);
}

.btn-danger:hover {
    background: #c82333;
}

.btn-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* Tables */
.requests-table {
    background: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.requests-table table {
    width: 100%;
    border-collapse: collapse;
}

.requests-table th,
.requests-table td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.requests-table th {
    background: #f8f9fa;
    font-weight: bold;
    color: var(--text-color);
}

.requests-table td {
    color: var(--text-color);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

.product-info h3 {
    margin: 0 0 0.5rem;
    color: var(--primary-color);
}

.product-info p {
    margin: 0 0 1rem;
    color: var(--text-color);
    opacity: 0.8;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}



.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    margin: 0;
    color: var(--primary-color);
}

.client-info p {
    margin: 0;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
}

.testimonial-actions {
    display: flex;
    gap: 0.5rem;
}

/* Settings */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.settings-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.settings-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.settings-form .form-group {
    margin-bottom: 1rem;
}

.settings-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.settings-form input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.settings-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        padding: 1rem 0;
    }
    
    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0 1rem;
    }
    
    .nav-item {
        padding: 0.5rem 1rem;
        white-space: nowrap;
    }
    
    .dashboard-main {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .requests-table {
        overflow-x: auto;
    }
    
    .products-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--secondary-color);
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    max-height: 80vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    color: var(--secondary-color);
    padding: 1.5rem 2rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.close {
    color: var(--secondary-color);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* Request Details Modal */
.request-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-group label {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.detail-group span,
.detail-group p {
    color: var(--text-color);
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 5px;
    border-right: 3px solid var(--primary-color);
}

/* Product Modal Form */
#productForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#productForm .form-group {
    margin-bottom: 0;
}

#productForm label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

#productForm input,
#productForm select,
#productForm textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

#productForm input:focus,
#productForm select:focus,
#productForm textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 24, 55, 0.1);
}

#productForm textarea {
    resize: vertical;
    min-height: 100px;
}

/* User Modal Form */
#userForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#userForm .form-group {
    margin-bottom: 0;
}

#userForm label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

#userForm input,
#userForm select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

#userForm input:focus,
#userForm select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(227, 24, 55, 0.1);
}

/* User Management Section */
.users-table {
    background: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.users-table table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th,
.users-table td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.users-table th {
    background: #f8f9fa;
    font-weight: bold;
    color: var(--text-color);
}

.users-table td {
    color: var(--text-color);
}

/* Enhanced Product Cards */
.product-card {
    position: relative;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(227, 24, 55, 0.1), rgba(227, 24, 55, 0.05));
    border-radius: 20px;
    display: inline-block;
}

/* Button Enhancements */
.btn-success {
    background: #28a745;
    color: var(--secondary-color);
}

.btn-success:hover {
    background: #218838;
}

.btn-secondary {
    background: #6c757d;
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Status Enhancements */
.status.active {
    background: #d4edda;
    color: #155724;
}

.status.inactive {
    background: #f8d7da;
    color: #721c24;
}

.status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
    
    .users-table {
        overflow-x: auto;
    }
    
    .users-table table {
        min-width: 600px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 5% auto;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .detail-group {
        gap: 0.25rem;
    }
    
    .detail-group span,
    .detail-group p {
        padding: 0.25rem 0.5rem;
        font-size: 0.9rem;
    }
} 