/*/* Enhanced Hero Text */
.hero-title {
    color: #ffffff !important;
    text-shadow: 0 3px 10px rgba(109, 80, 58, 0.8);
    font-weight: 700;
}

.hero-subtitle {
    color: #f8f9fa !important;
    font-weight: 400;
    text-shadow: 0 2px 6px rgba(109, 80, 58, 0.6);
}for Bo Mohammad Law Office */

/* Hero Section Enhanced Text */
.hero-title {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    font-weight: 700;
}

.hero-subtitle {
    color: #f8f9fa !important;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Hero Section Enhanced Background */
.hero-dark-bg {
    background: linear-gradient(135deg, #8B6951 0%, #A87D67 50%, #6D503A 100%);
    position: relative;
    overflow: hidden;
}

.hero-dark-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(168, 125, 103, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 105, 81, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-dark-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(168, 125, 103, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.hero-overlay {
    background: rgba(109, 80, 58, 0.4);
    backdrop-filter: blur(1px);
}

/* Enhanced Button Styles */
.btn-dark {
    background: #ffffff;
    border: 2px solid #ffffff;
    color: #6D503A;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(109, 80, 58, 0.3);
}

.btn-dark:hover {
    background: #f8f9fa;
    border-color: #f8f9fa;
    color: #6D503A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 80, 58, 0.4);
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(109, 80, 58, 0.2);
}

.btn-outline-dark:hover {
    background: #ffffff;
    color: #6D503A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 80, 58, 0.4);
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #A87D67;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8B6951;
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

/* Custom Button Styles */
.btn-primary {
    background: #A87D67;
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #8B6951;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(168, 125, 103, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #1C1531;
    color: #1C1531;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #1C1531;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(28, 21, 49, 0.3);
}

/* Admin Panel Styles */
.admin-sidebar {
    background: #1C1531;
    color: white;
    min-height: 100vh;
    width: 280px;
    position: fixed;
    right: 0;
    top: 0;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.admin-content {
    margin-right: 280px;
    padding: 20px;
    background: #f8f9fa;
    min-height: 100vh;
}

.admin-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.admin-table {
    width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.admin-table th {
    background: #A87D67;
    color: white;
    padding: 12px;
    text-align: right;
    font-weight: 600;
}

.admin-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-new { background: #dbeafe; color: #1e40af; }
.status-confirmed { background: #d1fae5; color: #059669; }
.status-cancelled { background: #fee2e2; color: #dc2626; }
.status-completed { background: #f3f4f6; color: #374151; }

/* Card Styles */
.card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(168, 125, 103, 0.15);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1C1531;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Hero Section Enhancements */
.hero-gradient {
    background: linear-gradient(135deg, #A87D67 0%, #E2CFC3 50%, #F9F6F4 100%);
}

/* Enhanced section backgrounds with theme color */
.section-accent {
    background: linear-gradient(135deg, #F9F6F4 0%, #E2CFC3 100%);
}

/* Navigation Enhancements */
.nav-link {
    position: relative;
    text-decoration: none;
    color: #1C1531;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #A87D67;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #A87D67;
}

/* Navigation Icons */
.nav-link {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #1C1531;
    font-weight: 500;
}

.nav-link:hover {
    background-color: rgba(168, 125, 103, 0.1);
    color: #A87D67;
    transform: translateY(-1px);
}

.nav-link.active {
    background-color: #A87D67;
    color: white;
    box-shadow: 0 2px 10px rgba(168, 125, 103, 0.3);
}

.nav-link i {
    font-size: 14px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.nav-link.active i {
    opacity: 1;
}

/* Mobile Menu Icons */
#mobileMenu .block {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 0 16px;
    transition: all 0.3s ease;
}

#mobileMenu .block:hover {
    background-color: rgba(168, 125, 103, 0.1);
    transform: translateX(-5px);
}

#mobileMenu .block i {
    font-size: 16px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

#mobileMenu .block:hover i {
    opacity: 1;
    color: #A87D67;
}

/* Service Cards */
.service-card {
    background: #F9F6F4;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(168, 125, 103, 0.1);
}

.service-card:hover {
    background: white;
    border-color: #A87D67;
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(168, 125, 103, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #A87D67, #E2CFC3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #A87D67;
    box-shadow: 0 0 0 3px rgba(168, 125, 103, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #1C1531;
}

.form-group {
    margin-bottom: 20px;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.6s ease forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-gradient {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 24px 16px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #A87D67;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert Styles */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background-color: #D1FAE5;
    border-color: #10B981;
    color: #065F46;
}

.alert-error {
    background-color: #FEE2E2;
    border-color: #EF4444;
    color: #991B1B;
}

.alert-warning {
    background-color: #FEF3C7;
    border-color: #F59E0B;
    color: #92400E;
}

/* Price Table Styles */
.price-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #A87D67, #E2CFC3);
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(168, 125, 103, 0.2);
}

.price-card.featured {
    transform: scale(1.05);
    border: 2px solid #A87D67;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #A87D67;
    margin: 16px 0;
}

.price-currency {
    font-size: 1.5rem;
    color: #1C1531;
}

/* FAQ Styles */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F9F6F4;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #E2CFC3;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-answer.active {
    padding: 20px 24px;
    max-height: 200px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-icon.active {
    transform: rotate(180deg);
}

/* Blog Card Styles */
.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 24px;
}

.blog-date {
    color: #A87D67;
    font-size: 0.875rem;
    font-weight: 500;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1C1531;
    margin: 8px 0 12px;
    line-height: 1.4;
}

.blog-excerpt {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

.read-more {
    color: #A87D67;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #8B6951;
}

/* Contact Form Enhancement */
.contact-form {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

/* Arabic Font Optimization */
.font-arabic {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-feature-settings: "liga" 1, "kern" 1;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .card, .service-card, .price-card {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
}
